getRequest method
Implementation
SupabaseQuery getRequest(AppApisState state, SupabaseAction action) {
assert(state.apis[action.requestID] != null, 'No request found');
assert(state.apis[action.requestID] is SupabaseQuery,
'Request is not of type SupabaseQuery');
final request = state.apis[action.requestID] as SupabaseQuery?;
if (request == null) throw Exception('No request found');
return request;
}