toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (allowDuplicateEmails != null)
        'allowDuplicateEmails': allowDuplicateEmails!,
      if (anonymous != null) 'anonymous': anonymous!,
      if (email != null) 'email': email!,
      if (hashConfig != null) 'hashConfig': hashConfig!,
      if (phoneNumber != null) 'phoneNumber': phoneNumber!,
    };