includedOptions<T extends PcoResource> method

List<T> includedOptions<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> includedOptions<T extends PcoResource>() =>
    (relationships['options'] as List?)?.cast<T>() ?? [];