DLPUserData class
DLPUserData structure to store sender/receiver user information.
- Annotations
-
- @freezed
Constructors
- DLPUserData({@JsonKey(name: 'uuid') required String uuid, @JsonKey(name: 'contact_uuid') required String contactUUID, @JsonKey(name: 'name') required String name, @JsonKey(name: 'first_name') required String firstName, @JsonKey(name: 'middle_name') required String middleName, @JsonKey(name: 'last_name') required String lastName, @JsonKey(name: 'role') required String role, @JsonKey(name: 'contact_phone') required String contactPhone, @JsonKey(name: 'contact_email') required String contactEmail, @JsonKey(name: 'is_bot') required bool isBot})
-
constfactory
-
DLPUserData.fromJson(Map<
String, dynamic> json) -
factory
Properties
- contactEmail → String
-
.
no setterinherited
- contactPhone → String
-
.
no setterinherited
- contactUUID → String
-
.
no setterinherited
-
copyWith
→ $DLPUserDataCopyWith<
DLPUserData> -
no setterinherited
- firstName → String
-
.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isBot → bool
-
.
no setterinherited
- lastName → String
-
.
no setterinherited
- middleName → String
-
.
no setterinherited
- name → String
-
.
no setterinherited
- role → String
-
.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- uuid → String
-
.
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