call method
Implementation
Future<dynamic> call({
required String method,
required Map arguments,
}) async {
final Map result = await _Bridge().channel.invokeMethod(
method,
arguments,
);
if (isFailure(result)) {
throw errorFrom(result);
}
return result['success'];
}