initialize method

void initialize(
  1. MethodCall call
)

Implementation

void initialize(MethodCall call) {
  Map<Object?, Object?> args = call.arguments as Map<Object?, Object?>;
  String token = args['token'] as String;
  dynamic config = args['config'];
  init(token, js.jsify(config ?? {}));
}