ProfileViewBasic class

Annotations
  • @freezed

Constructors

ProfileViewBasic({required String did, required String handle, String? displayName, String? avatar, ProfileAssociated? associated, @Default(ActorViewer()) ActorViewer viewer, List<Label>? labels, @Default(false) bool chatDisabled})
const
factory
ProfileViewBasic.fromJson(Map<String, Object?> json)
factory

Properties

associated ProfileAssociated?
no setterinherited
avatar String?
no setterinherited
chatDisabled bool
no setterinherited
copyWith → $ProfileViewBasicCopyWith<ProfileViewBasic>
Create a copy of ProfileViewBasic with the given fields replaced by the non-null parameter values.
no setterinherited
did String
no setterinherited
displayName String?
no setterinherited
handle String
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
labels List<Label>?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
viewer ActorViewer
no setterinherited

Methods

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

Operators

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