copyWith method
Usuario
copyWith(
{ - String? code,
- String? username,
- String? companyCode,
- String? fullName,
- bool? isDisabled,
- int? passwordAttempts,
- String? referenceCode,
- String? externalReference,
- DateTime? createdAt,
- String? createdBy,
- DateTime? writeAt,
- String? writeBy,
})
Implementation
Usuario copyWith({
String? code,
String? username,
String? companyCode,
String? fullName,
bool? isDisabled,
int? passwordAttempts,
String? referenceCode,
String? externalReference,
DateTime? createdAt,
String? createdBy,
DateTime? writeAt,
String? writeBy,
}) =>
Usuario(
code: code ?? this.code,
username: username ?? this.username,
companyCode: companyCode ?? this.companyCode,
fullName: fullName ?? this.fullName,
isDisabled: isDisabled ?? this.isDisabled,
passwordAttempts: passwordAttempts ?? this.passwordAttempts,
referenceCode: referenceCode ?? this.referenceCode,
externalReference: externalReference ?? this.externalReference,
createdAt: createdAt ?? this.createdAt,
createdBy: createdBy ?? this.createdBy,
writeAt: writeAt ?? this.writeAt,
writeBy: writeBy ?? this.writeBy,
);