NIMUser class Null safety

Message

Annotations
  • @JsonSerializable()

Constructors

NIMUser({String? userId, String? nick, String? avatar, String? sign, NIMUserGenderEnum? gender, String? email, String? birth, String? mobile, String? ext})
NIMUser.fromMap(Map<String, dynamic> map)
factory

Properties

avatar String?
read / write
birth String?
@JsonKey(name: "birthday"), read / write
email String?
read / write
ext String?
@JsonKey(name: "extension"), read / write
gender NIMUserGenderEnum?
read / write
hashCode int
The hash code for this object.
read-only, inherited
mobile String?
read / write
nick String?
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
sign String?
@JsonKey(name: "signature"), read / write
userId String?
read / write

Methods

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

Operators

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