ProfileViewBasic class

Available extensions
Annotations
  • @freezed

Constructors

ProfileViewBasic.new({@Default(appBskyActorDefsProfileViewBasic) @JsonKey(name: r'$type') String $type, required String did, required String handle, String? displayName, String? avatar, @ProfileAssociatedConverter() @Default(ProfileAssociated()) ProfileAssociated associated, @ViewerStateConverter() @Default(ViewerState()) ViewerState viewer, @LabelConverter() List<Label>? labels, DateTime? createdAt, @JsonKey(name: r'$unknown') Map<String, dynamic>? $unknown})
const
factory
ProfileViewBasic.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 → $ProfileViewBasicCopyWith<ProfileViewBasic>
no setterinherited
createdAt DateTime?
no setterinherited
did String
no setterinherited
displayName String?
no setterinherited
handle String
no setterinherited
hasAvatar bool

Available on ProfileViewBasic, provided by the $ProfileViewBasicExtension extension

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

Available on ProfileViewBasic, provided by the $ProfileViewBasicExtension extension

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

Available on ProfileViewBasic, provided by the $ProfileViewBasicExtension extension

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

Available on ProfileViewBasic, provided by the $ProfileViewBasicExtension extension

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

Available on ProfileViewBasic, provided by the $ProfileViewBasicExtension extension

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

Available on ProfileViewBasic, provided by the $ProfileViewBasicExtension extension

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

Available on ProfileViewBasic, provided by the $ProfileViewBasicExtension extension

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

Available on ProfileViewBasic, provided by the $ProfileViewBasicExtension extension

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

Available on ProfileViewBasic, provided by the $ProfileViewBasicExtension extension

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

Available on ProfileViewBasic, provided by the $ProfileViewBasicExtension extension

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