collectionOrNull property

  1. @override
NSID? get collectionOrNull
override

Returns the collection, or null if this AT URI does not have a collection segment.

Implementation

@override
NSID? get collectionOrNull => _collectionOf(_pathSegments, NSID.parse);