updateAsync method

Future<void> updateAsync(
  1. covariant void fnUpdate(
    1. dynamic value
    )
)
override

Executes fnUpdate, and notify the listeners about to update as async way.

Implementation

Future<void> updateAsync(void fnUpdate(value)) async {
  await super.updateAsync(() => fnUpdate(value));
}