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