toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (supportsBiometric != null) {
json['supports_biometric'] = supportsBiometric;
}
if (biometricTypes != null) {
json['biometric_types'] = biometricTypes!.map((e) => e.value).toList();
}
return json;
}