toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'passportSuitableElement',
if (extra != null) '@extra': extra,
'type': type,
'is_selfie_required': is_selfie_required,
'is_translation_required': is_translation_required,
'is_native_name_required': is_native_name_required
};
}