LocalAccountProto constructor
LocalAccountProto({
- Int64? id,
- String? email,
- String? phone,
- String? lastName,
- String? firstName,
- String? locale,
- String? company,
- String? groupId,
- bool? enabled,
- Timestamp? expiredAt,
- Iterable<
AccountProto_Roles> ? clientRoles, - AccountProto_ActivationStatuses? status,
- bool? deleted,
- Int64? clientId,
- LocalAccountProto_AccountTypes? type,
- String? clientName,
Implementation
factory LocalAccountProto({
$fixnum.Int64? id,
$core.String? email,
$core.String? phone,
$core.String? lastName,
$core.String? firstName,
$core.String? locale,
$core.String? company,
$core.String? groupId,
$core.bool? enabled,
$3.Timestamp? expiredAt,
$core.Iterable<$1.AccountProto_Roles>? clientRoles,
$1.AccountProto_ActivationStatuses? status,
$core.bool? deleted,
$fixnum.Int64? clientId,
LocalAccountProto_AccountTypes? type,
$core.String? clientName,
}) {
final result = create();
if (id != null) result.id = id;
if (email != null) result.email = email;
if (phone != null) result.phone = phone;
if (lastName != null) result.lastName = lastName;
if (firstName != null) result.firstName = firstName;
if (locale != null) result.locale = locale;
if (company != null) result.company = company;
if (groupId != null) result.groupId = groupId;
if (enabled != null) result.enabled = enabled;
if (expiredAt != null) result.expiredAt = expiredAt;
if (clientRoles != null) result.clientRoles.addAll(clientRoles);
if (status != null) result.status = status;
if (deleted != null) result.deleted = deleted;
if (clientId != null) result.clientId = clientId;
if (type != null) result.type = type;
if (clientName != null) result.clientName = clientName;
return result;
}