initZoom method
The event channel used to interact with the native platform init function
Implementation
@override
Future<List> initZoom(ZoomOptions options) async {
var optionMap = <String, String?>{};
if (options.appKey != null) {
optionMap.putIfAbsent("appKey", () => options.appKey!);
}
if (options.appSecret != null) {
optionMap.putIfAbsent("appSecret", () => options.appSecret!);
}
optionMap.putIfAbsent("domain", () => options.domain);
return await channel
.invokeMethod<List>('init', optionMap)
.then<List>((List? value) => value ?? List.empty());
}