includedCategory<T extends PcoResource> method

List<T> includedCategory<T extends PcoResource>()

The code generator could not automatically determine the resource type of this relationship. For type safe code, you should specify it in the type argument when calling.

Implementation

List<T> includedCategory<T extends PcoResource>() =>
    (relationships['category'] as List?)?.cast<T>() ?? [];