update static method
dynamic
update(
- dynamic update(
- dynamic data
Update the auth user data.
Implementation
static update(Function(dynamic data) update) async {
dynamic data = await NyStorage.read(key());
dynamic updatedData = await update(data);
await authenticate(data: updatedData);
}