ProfileView class

Available extensions
Annotations
  • @freezed

Constructors

ProfileView.new({@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
hasAvatar bool

Available on ProfileView, provided by the $ProfileViewExtension extension

Returns true if avatar is not null, otherwise false.
no setter
hasCreatedAt bool

Available on ProfileView, provided by the $ProfileViewExtension extension

Returns true if createdAt is not null, otherwise false.
no setter
hasDescription bool

Available on ProfileView, provided by the $ProfileViewExtension extension

Returns true if description is not null, otherwise false.
no setter
hasDisplayName bool

Available on ProfileView, provided by the $ProfileViewExtension extension

Returns true if displayName is not null, otherwise false.
no setter
hashCode int
The hash code for this object.
no setterinherited
hasIndexedAt bool

Available on ProfileView, provided by the $ProfileViewExtension extension

Returns true if indexedAt is not null, otherwise false.
no setter
hasLabels bool

Available on ProfileView, provided by the $ProfileViewExtension extension

Returns true if labels is not null, otherwise false.
no setter
hasNotAvatar bool

Available on ProfileView, provided by the $ProfileViewExtension extension

Returns true if avatar is null, otherwise false.
no setter
hasNotCreatedAt bool

Available on ProfileView, provided by the $ProfileViewExtension extension

Returns true if createdAt is null, otherwise false.
no setter
hasNotDescription bool

Available on ProfileView, provided by the $ProfileViewExtension extension

Returns true if description is null, otherwise false.
no setter
hasNotDisplayName bool

Available on ProfileView, provided by the $ProfileViewExtension extension

Returns true if displayName is null, otherwise false.
no setter
hasNotIndexedAt bool

Available on ProfileView, provided by the $ProfileViewExtension extension

Returns true if indexedAt is null, otherwise false.
no setter
hasNotLabels bool

Available on ProfileView, provided by the $ProfileViewExtension extension

Returns true if labels is null, otherwise false.
no setter
hasNotUnknown bool

Available on ProfileView, provided by the $ProfileViewExtension extension

Returns true if this object has not unknown objects, otherwise false.
no setter
hasUnknown bool

Available on ProfileView, provided by the $ProfileViewExtension extension

Returns true if this object has unknown objects, otherwise false.
no setter
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