NewCustomerModel class

Constructors

NewCustomerModel({required String name, String? image, String? nif, AddressModel? address, String? notes, DateTime? birthDate, ContactPersonModel? contactPerson1, ContactPersonModel? contactPerson2})
Returns a new NewCustomerModel instance.

Properties

address AddressModel?
getter/setter pair
birthDate DateTime?
getter/setter pair
contactPerson1 ContactPersonModel?
getter/setter pair
contactPerson2 ContactPersonModel?
getter/setter pair
hashCode int
The hash code for this object.
no setteroverride
image String?
getter/setter pair
name String
getter/setter pair
nif String?
getter/setter pair
notes String?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override

Static Methods

fromJson(dynamic value) NewCustomerModel
Returns a new NewCustomerModel instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) List<NewCustomerModel>
mapFromJson(dynamic json) Map<String, NewCustomerModel>
mapListFromJson(dynamic json, {bool growable = false}) Map<String, List<NewCustomerModel>>