reset static method

Future<State> reset([
  1. Config? config
])

Resets the plugin configuration to documented default-values.

If an optional Config is provided, it will be applied after the configuration reset.

Implementation

static Future<State> reset([Config? config]) async {
  Map state = (await _methodChannel.invokeMapMethod(
      'reset', (config != null) ? config.toMap() : null))!;
  return State(state);
}