ProfileAssociated class abstract

Available extensions
Annotations
  • @freezed

Constructors

ProfileAssociated.new({@Default('app.bsky.actor.defs#profileAssociated') String $type, int? lists, int? feedgens, int? starterPacks, bool? labeler, @ProfileAssociatedChatConverter() ProfileAssociatedChat? chat, @ProfileAssociatedActivitySubscriptionConverter() ProfileAssociatedActivitySubscription? activitySubscription, Map<String, dynamic>? $unknown})
const
factory
ProfileAssociated.fromJson(Map<String, Object?> json)
factory

Properties

$type String
no setterinherited
$unknown Map<String, dynamic>?
no setterinherited
activitySubscription ProfileAssociatedActivitySubscription?
no setterinherited
chat ProfileAssociatedChat?
no setterinherited
copyWith → $ProfileAssociatedCopyWith<ProfileAssociated>
Create a copy of ProfileAssociated with the given fields replaced by the non-null parameter values.
no setterinherited
feedgens int?
no setterinherited
hasActivitySubscription bool

Available on ProfileAssociated, provided by the ProfileAssociatedExtension extension

no setter
hasChat bool

Available on ProfileAssociated, provided by the ProfileAssociatedExtension extension

no setter
hasFeedgens bool

Available on ProfileAssociated, provided by the ProfileAssociatedExtension extension

no setter
hashCode int
The hash code for this object.
no setterinherited
hasLists bool

Available on ProfileAssociated, provided by the ProfileAssociatedExtension extension

no setter
hasNotActivitySubscription bool

Available on ProfileAssociated, provided by the ProfileAssociatedExtension extension

no setter
hasNotChat bool

Available on ProfileAssociated, provided by the ProfileAssociatedExtension extension

no setter
hasNotFeedgens bool

Available on ProfileAssociated, provided by the ProfileAssociatedExtension extension

no setter
hasNotLists bool

Available on ProfileAssociated, provided by the ProfileAssociatedExtension extension

no setter
hasNotStarterPacks bool

Available on ProfileAssociated, provided by the ProfileAssociatedExtension extension

no setter
hasStarterPacks bool

Available on ProfileAssociated, provided by the ProfileAssociatedExtension extension

no setter
isLabeler bool

Available on ProfileAssociated, provided by the ProfileAssociatedExtension extension

no setter
isNotLabeler bool

Available on ProfileAssociated, provided by the ProfileAssociatedExtension extension

no setter
labeler bool?
no setterinherited
lists int?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
starterPacks int?
no setterinherited

Methods

map<TResult extends Object?>(TResult $default(_ProfileAssociated value)) → TResult

Available on ProfileAssociated, provided by the ProfileAssociatedPatterns extension

A switch-like method, using callbacks.
mapOrNull<TResult extends Object?>(TResult? $default(_ProfileAssociated value)?) → TResult?

Available on ProfileAssociated, provided by the ProfileAssociatedPatterns extension

A variant of map that fallback to returning null.
maybeMap<TResult extends Object?>(TResult $default(_ProfileAssociated value)?, {required TResult orElse()}) → TResult

Available on ProfileAssociated, provided by the ProfileAssociatedPatterns extension

A variant of map that fallback to returning orElse.
maybeWhen<TResult extends Object?>(TResult $default(String $type, int? lists, int? feedgens, int? starterPacks, bool? labeler, ProfileAssociatedChat? chat, ProfileAssociatedActivitySubscription? activitySubscription, Map<String, dynamic>? $unknown)?, {required TResult orElse()}) → TResult

Available on ProfileAssociated, provided by the ProfileAssociatedPatterns extension

A variant of when that fallback to an orElse callback.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this ProfileAssociated to a JSON map.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>(TResult $default(String $type, int? lists, int? feedgens, int? starterPacks, bool? labeler, ProfileAssociatedChat? chat, ProfileAssociatedActivitySubscription? activitySubscription, Map<String, dynamic>? $unknown)) → TResult

Available on ProfileAssociated, provided by the ProfileAssociatedPatterns extension

A switch-like method, using callbacks.
whenOrNull<TResult extends Object?>(TResult? $default(String $type, int? lists, int? feedgens, int? starterPacks, bool? labeler, ProfileAssociatedChat? chat, ProfileAssociatedActivitySubscription? activitySubscription, Map<String, dynamic>? $unknown)?) → TResult?

Available on ProfileAssociated, provided by the ProfileAssociatedPatterns extension

A variant of when that fallback to returning null

Operators

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

Static Methods

validate(Map<String, dynamic> object) bool

Constants

knownProps → const List<String>