update method
- User user
Updates the locally stored DtoUser with the provided user
value.
Implementation
Future<void> update(User user) async {
final DtoUser? dto = await _userLocal.read(user.id);
if (dto != null) {
put(dto..value = user, ignoreVersion: true);
}
}