apiPath property

String? get apiPath

PcoResources include their own path as a link object but this might be null if we haven't created/fetched the object yet Child classes should redefine this getter to allow for manual path overrides

Implementation

String? get apiPath => links['self'] ?? defaultPathTemplate;