Profile class

Annotations
  • @_NameSource('rule override spec')

Constructors

Profile({Uri? avatarUrl, String? displayName, required String userId})
Profile.fromJson(Map<String, Object?> json)

Properties

avatarUrl Uri?
The avatar url, as an MXC, if one exists.
getter/setter pair
displayName String?
The display name of the user, if one exists.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userId String
The user's sdn user ID.
getter/setter pair

Methods

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

Operators

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