CustomerModel constructor
CustomerModel({
- required int id,
- required String name,
- required String? image,
- required bool active,
- String? nif,
- String? notes,
- required AddressModel address,
- required ContactPersonModel contactPerson1,
- required ContactPersonModel contactPerson2,
- DateTime? birthDate,
- required DateTime lastUpdated,
Returns a new CustomerModel instance.
Implementation
CustomerModel({
required this.id,
required this.name,
required this.image,
required this.active,
this.nif,
this.notes,
required this.address,
required this.contactPerson1,
required this.contactPerson2,
this.birthDate,
required this.lastUpdated,
});