copyWith method
Implementation
Sucursale copyWith({
String? code,
String? description,
String? address,
String? companyCode,
bool? isDisabled,
DateTime? createdAt,
String? createdBy,
DateTime? writeAt,
String? writeBy,
}) =>
Sucursale(
code: code ?? this.code,
description: description ?? this.description,
address: address ?? this.address,
companyCode: companyCode ?? this.companyCode,
isDisabled: isDisabled ?? this.isDisabled,
createdAt: createdAt ?? this.createdAt,
createdBy: createdBy ?? this.createdBy,
writeAt: writeAt ?? this.writeAt,
writeBy: writeBy ?? this.writeBy,
);