ClientContact class

ClientContact class

Annotations
  • @freezed

Constructors

ClientContact({@Default('') String id, @Default('') @JsonKey(name: 'custom_value1') String customValue1, @Default('') @JsonKey(name: 'custom_value2') String customValue2, @Default('') @JsonKey(name: 'custom_value3') String customValue3, @Default('') @JsonKey(name: 'custom_value4') String customValue4, @Default('') @JsonKey(name: 'first_name') String firstName, @Default('') @JsonKey(name: 'last_name') String lastName, @Default('') String email, @Default(false) @JsonKey(name: 'is_primary') bool isPrimary, @Default(false) @JsonKey(name: 'is_locked') bool isLocked, @Default('') String phone, @Default('') @JsonKey(name: 'contact_key') String key, @Default(true) @JsonKey(name: 'send_email') bool sendEmail, @Default(0) @JsonKey(name: 'last_login') int lastLogin, @Default('') String password})
ClientContact factory constructor
factory
ClientContact.fromJson(Map<String, dynamic> json)
Create a ClientContact from JSON
factory

Properties

copyWith → $ClientContactCopyWith<ClientContact>
no setterinherited
customValue1 String
no setterinherited
customValue2 String
no setterinherited
customValue3 String
no setterinherited
customValue4 String
no setterinherited
email String
no setterinherited
firstName String
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id String
no setterinherited
isLocked bool
no setterinherited
isPrimary bool
no setterinherited
key String
no setterinherited
lastLogin int
no setterinherited
lastName String
no setterinherited
password String
no setterinherited
phone String
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sendEmail bool
no setterinherited

Methods

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

Operators

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