list method
Implementation
Future<List<T>> list([Object filters = const {}]) async {
var operation = resolver.getOperation(entityName, 'list')!;
var result = await this.client().queryManager.mutate(MutationOptions(
document: operation.operation,
operationName: operation.operationName,
variables: {"where": filters},
));
if (result.hasException) {
throw GraphClientConfig.translateException(
operation, filters, result.exception!);
}
return this.serializer.readList(
result.data![entityPlural.uncapitalize()],
typeName: entityName,
isNullable: false,
);
}