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