copyWith method
Empresa
copyWith(
{ - String? code,
- String? description,
- String? businessName,
- String? businessDoc,
- String? address,
- bool? isDisabled,
- String? imageLocation,
- DateTime? createdAt,
- String? createdBy,
- DateTime? writeAt,
- String? writeBy,
})
Implementation
Empresa copyWith({
String? code,
String? description,
String? businessName,
String? businessDoc,
String? address,
bool? isDisabled,
String? comment,
String? imageLocation,
DateTime? createdAt,
String? createdBy,
DateTime? writeAt,
String? writeBy,
}) =>
Empresa(
code: code ?? this.code,
description: description ?? this.description,
businessName: businessName ?? this.businessName,
businessDoc: businessDoc ?? this.businessDoc,
address: address ?? this.address,
isDisabled: isDisabled ?? this.isDisabled,
comment: comment ?? this.comment,
imageLocation: imageLocation ?? this.imageLocation,
createdAt: createdAt ?? this.createdAt,
createdBy: createdBy ?? this.createdBy,
writeAt: writeAt ?? this.writeAt,
writeBy: writeBy ?? this.writeBy,
);