onResponse method Null safety

  1. @override
Future onResponse(
  1. Response data,
  2. HasuraConnect connect
)

Implementation

@override
Future onResponse(Response data, HasuraConnect connect) async {
  final String key = _generateKey(data.request);
  _storage.put(key, data.data);
  return data;
}