ProfileView class

Available extensions
Annotations
  • @freezed

Constructors

ProfileView({@Default(appBskyActorDefsProfileView) @JsonKey(name: r'$type') String $type, required String did, required String handle, String? displayName, String? description, String? avatar, @ProfileAssociatedConverter() @Default(ProfileAssociated()) ProfileAssociated associated, DateTime? indexedAt, DateTime? createdAt, @ViewerStateConverter() @Default(ViewerState()) ViewerState viewer, @LabelConverter() List<Label>? labels, @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown})
const
factory
ProfileView.fromJson(Map<String, dynamic> json)
factory

Properties

$type String
The unique namespace for this lex object.
no setterinherited
$unknown Map<String, dynamic>?
Contains unknown objects not defined in Lexicon.
no setterinherited
associated ProfileAssociated
no setterinherited
avatar String?
no setterinherited
copyWith → $ProfileViewCopyWith<ProfileView>
no setterinherited
createdAt DateTime?
no setterinherited
description String?
no setterinherited
did String
no setterinherited
displayName String?
no setterinherited
handle String
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
indexedAt DateTime?
no setterinherited
labels List<Label>?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
viewer ViewerState
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