collection property

  1. @override
NSID get collection
override

Returns the collection.

Throws an InvalidAtUriError if this AT URI does not have a collection segment. Use collectionOrNull for a non-throwing variant.

Implementation

@override
NSID get collection =>
    collectionOrNull ??
    (throw InvalidAtUriError('AT URI does not contain a collection: $_uri'));