toMap method
Implementation
Map<String, dynamic> toMap() {
return {
"title": title,
"subtitle": subtitle,
"description": description,
"negativeButtonText": negativeButtonText,
"allowedAuthenticatorsOnEnable": [
for (var i in allowedAuthenticatorsOnEnable) i.value,
],
"allowedAuthenticatorsOnAuthenticate": [
for (var i in allowedAuthenticatorsOnAuthenticate) i.value,
],
"invalidatedByBiometricEnrollment": invalidatedByBiometricEnrollment,
};
}