toJson method

  1. @override
Map<String, dynamic> toJson()
override

Object to Map serializer

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    '@type': 'authorizationStateWaitPassword',
    if (extra != null) '@extra': extra,
    'password_hint': password_hint,
    'has_recovery_email_address': has_recovery_email_address,
    'has_passport_data': has_passport_data,
    'recovery_email_address_pattern': recovery_email_address_pattern
  };
}