ChatContactEventsVersionedMixin$Events$EventChatContactUserAdded$User class
- Inheritance
-
- Object
- JsonSerializable
- ChatContactEventsVersionedMixin$Events$EventChatContactUserAdded$User
- Mixed-in types
- Available extensions
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
Properties
- $$typename ↔ String?
-
getter/setter pair
- anyMap → bool?
-
If
true
, Map types are not assumed to be Map<String, dynamic> – which is the default type of Map instances return by JSON decode indart:convert
.finalinherited - avatar ↔ UserMixin$Avatar?
-
getter/setter pairinherited
- bio ↔ UserBio?
-
getter/setter pairinherited
- callCover ↔ UserMixin$CallCover?
-
getter/setter pairinherited
- checked → bool?
-
If
true
, generatedfromJson
functions include extra checks to validate proper deserialization of types.finalinherited - constructor → String?
-
Specifies a named constructor to target when creating the
fromJson
function.finalinherited -
converters
→ List<
JsonConverter> ? -
A list of JsonConverter to apply to this class.
finalinherited
- createFactory → bool?
-
If
true
(the default), a private, static_$ExampleFromJson
method is created in the generated part file.finalinherited - createFieldMap → bool?
-
If
true
(defaults to false), a private, static_$ExampleJsonMeta
constant is created in the generated part file.finalinherited - createJsonKeys → bool?
-
If
true
(defaults to false), a private class_$ExampleJsonKeys
class is created in the generated part file.finalinherited - createPerFieldToJson → bool?
-
If
true
(defaults to false), a private, static_$ExamplePerFieldToJson
abstract class will be generated in the part file.finalinherited - createToJson → bool?
-
If
true
(the default), A top-level function is created that you can reference from your class.finalinherited - dialog ↔ UserMixin$Dialog?
-
getter/setter pairinherited
- disallowUnrecognizedKeys → bool?
-
If
false
(the default), then the generatedFromJson
function will ignore unrecognized keys in the provided JSON Map.finalinherited - explicitToJson → bool?
-
If
true
, generatedtoJson
methods will explicitly calltoJson
on nested objects.finalinherited - fieldRename → FieldRename?
-
Defines the automatic naming strategy when converting class field names
into JSON map keys.
finalinherited
- genericArgumentFactories → bool?
-
When
true
on classes with type parameters (generic types), extra "helper" parameters will be generated forfromJson
and/ortoJson
to support serializing values of those types.finalinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ UserId
-
getter/setter pairinherited
- ignoreUnannotated → bool?
-
When
true
, only fields annotated with JsonKey will have code generated.finalinherited - includeIfNull → bool?
-
Whether the generator should include fields with
null
values in the serialized output.finalinherited - isBlocked ↔ UserMixin$IsBlocked
-
getter/setter pairinherited
- isDeleted ↔ bool
-
getter/setter pairinherited
- name ↔ UserName?
-
getter/setter pairinherited
- num ↔ UserNum
-
getter/setter pairinherited
- online ↔ UserMixin$Online?
-
getter/setter pairinherited
- presence ↔ Presence?
-
getter/setter pairinherited
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status ↔ UserTextStatus?
-
getter/setter pairinherited
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited - ver ↔ UserVersion
-
getter/setter pairinherited
- welcomeMessage ↔ UserMixin$WelcomeMessage?
-
getter/setter pairinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toDto(
) → DtoUser -
Available on UserMixin, provided by the UserConversion extension
Constructs a new DtoUser from this UserMixin. -
toJson(
) → Map< String, dynamic> -
override
-
toModel(
) → User -
Available on UserMixin, provided by the UserConversion extension
Constructs a new User from this UserMixin. -
toString(
) → String -
A string representation of this object.
inherited
-
withDefaults(
) → JsonSerializable -
Returns a new JsonSerializable instance with fields equal to the
corresponding values in
this
, if notnull
.inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited