loadRelatedList<T> method
Implementation
Future<List<T>> loadRelatedList<T>(
{required String entityName,
required String entityId,
required String fieldName,
required String relatedType,
String? queryName,
bool isNullable = false,
bool isJoinType = false,
Map<String, Object?>? fixedWhere}) async {
final raw = await this.loadRelatedJson(
entityName: entityName,
entityId: entityId,
fieldName: fieldName,
relatedType: relatedType,
fixedWhere: fixedWhere,
queryName: queryName,
isNullable: isNullable,
isJoinType: isJoinType);
return this._serializer.readList<T>(
raw,
typeName: relatedType,
isNullable: isNullable,
);
}