toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    'changePassword': changePassword,
    'photoUrl': photoUrl,
    'admin': admin,
    'allowedToChangePassword': allowedToChangePassword,
    'id': id,
    'username': username,
    'fullName': fullName,
    'email': email,
    'locale': locale,
    'tenantDomain': tenantDomain,
    'tenantName': tenantName,
    'tenantLocale': tenantLocale,
    'blocked': blocked,
    'authenticationType': authenticationType,
    'description': description,
    'properties': properties,
    'integration': integration?.toMap(),
    'discriminator': discriminator,
  };
}