toMap method

Map<String, dynamic> toMap()

Implementation

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