setExtra method

Future<void> setExtra(
  1. String key,
  2. dynamic value
)

Sets an extra to the Scope

Implementation

Future<void> setExtra(String key, dynamic value) async {
  _setExtraSync(key, value);
  await _callScopeObservers(
      (scopeObserver) async => await scopeObserver.setExtra(key, value));
}