toMap method
Implementation
Map<String, dynamic> toMap() {
Map<String, dynamic> options = {};
if (Util.isAndroid)
options.addAll(this.android?.toMap() ?? {});
else if (Util.isIOS) options.addAll(this.ios?.toMap() ?? {});
return options;
}