AtUri class sealed
This is the Dart implementation of AT Uri in AT Protocol.
Grammar
- atp-url = "at://" authority path
"#" fragment
- authority = reg-name / did
- path = [ "/" coll-nsid
"/" record-id
] - coll-nsid = nsid
- record-id = 1*pchar
- Available extensions
Constructors
- AtUri(String uri)
-
Returns the new instance of unparsed AT URI.
constfactory
- AtUri.make(String handleOrDid, [String? collection, String? rkey])
-
Returns the new instance of parsed AT URI based on
handleOrDid
, andcollection
andrkey
as optionals.factory - AtUri.parse(String uri)
-
Returns the new instance of parsed AT URI.
factory
Properties
- collection → NSID
-
Returns the collection.
no setter
- hash → String
-
Returns the hash.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hostname → String
-
Returns the hostname.
no setter
- href → String
-
Returns the href.
no setter
- isActorProfile → bool
-
Available on AtUri, provided by the AtUriExtension extension
Returns true if this collection is actor profile, otherwise false.no setter - isFeedGenerator → bool
-
Available on AtUri, provided by the AtUriExtension extension
Returns true if this collection is feed generator, otherwise false.no setter - isFeedLike → bool
-
Available on AtUri, provided by the AtUriExtension extension
Returns true if this collection is feed like, otherwise false.no setter - isFeedPost → bool
-
Available on AtUri, provided by the AtUriExtension extension
Returns true if this collection is feed post, otherwise false.no setter - isFeedRepost → bool
-
Available on AtUri, provided by the AtUriExtension extension
Returns true if this collection is feed repost, otherwise false.no setter - isFeedThreadgate → bool
-
Available on AtUri, provided by the AtUriExtension extension
Returns true if this collection is feed threadgate, otherwise false.no setter - isGraphBlock → bool
-
Available on AtUri, provided by the AtUriExtension extension
Returns true if this collection is graph block, otherwise false.no setter - isGraphBlockList → bool
-
Available on AtUri, provided by the AtUriExtension extension
Returns true if this collection is graph block list, otherwise false.no setter - isGraphFollow → bool
-
Available on AtUri, provided by the AtUriExtension extension
Returns true if this collection is graph follow, otherwise false.no setter - isGraphList → bool
-
Available on AtUri, provided by the AtUriExtension extension
Returns true if this collection is graph list, otherwise false.no setter - isGraphListItem → bool
-
Available on AtUri, provided by the AtUriExtension extension
Returns true if this collection is graph block, otherwise false.no setter - isLabelerService → bool
-
Available on AtUri, provided by the AtUriExtension extension
Returns true if this collection is labeler service, otherwise false.no setter - isNotActorProfile → bool
-
Available on AtUri, provided by the AtUriExtension extension
Returns true if this collection is not actor profile, otherwise false.no setter - isNotFeedGenerator → bool
-
Available on AtUri, provided by the AtUriExtension extension
Returns true if this collection is not feed generator, otherwise false.no setter - isNotFeedLike → bool
-
Available on AtUri, provided by the AtUriExtension extension
Returns true if this collection is not feed like, otherwise false.no setter - isNotFeedPost → bool
-
Available on AtUri, provided by the AtUriExtension extension
Returns true if this collection is not feed post, otherwise false.no setter - isNotFeedRepost → bool
-
Available on AtUri, provided by the AtUriExtension extension
Returns true if this collection is not feed repost, otherwise false.no setter - isNotFeedThreadgate → bool
-
Available on AtUri, provided by the AtUriExtension extension
Returns true if this collection is not feed threadgate, otherwise false.no setter - isNotGraphBlock → bool
-
Available on AtUri, provided by the AtUriExtension extension
Returns true if this collection is not graph block, otherwise false.no setter - isNotGraphBlockList → bool
-
Available on AtUri, provided by the AtUriExtension extension
Returns true if this collection is not graph block list, otherwise false.no setter - isNotGraphFollow → bool
-
Available on AtUri, provided by the AtUriExtension extension
Returns true if this collection is not graph follow, otherwise false.no setter - isNotGraphList → bool
-
Available on AtUri, provided by the AtUriExtension extension
Returns true if this collection is not graph list, otherwise false.no setter - isNotGraphListItem → bool
-
Available on AtUri, provided by the AtUriExtension extension
Returns true if this collection is not graph block, otherwise false.no setter - isNotLabelerService → bool
-
Available on AtUri, provided by the AtUriExtension extension
Returns true if this collection is not labeler service, otherwise false.no setter - origin → String
-
Returns the origin.
no setter
- pathname → String
-
Returns the pathname.
no setter
- protocol → String
-
Returns the protocol.
no setter
- rkey → String
-
Returns the rkey.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited