toMethodChannelMap method
Converts Android-specific options to a method-channel-compatible map.
Implementation
Map<String, dynamic> toMethodChannelMap() {
return {
if (cancelButtonText != null) 'cancelButtonText': cancelButtonText,
if (allowDeviceCredentials != null)
'allowDeviceCredentials': allowDeviceCredentials,
if (subtitle != null) 'subtitle': subtitle,
};
}