toJson method

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

Implementation

@override
Map<String, dynamic> toJson([dynamic extra]) {
  return {
    "@type": CONSTRUCTOR,
    "has_password": hasPassword,
    "password_hint": passwordHint,
    "has_recovery_email_address": hasRecoveryEmailAddress,
    "has_passport_data": hasPassportData,
    "recovery_email_address_code_info":
        recoveryEmailAddressCodeInfo?.toJson(),
    "login_email_address_pattern": loginEmailAddressPattern,
    "pending_reset_date": pendingResetDate,
  };
}