denormalizeBase method
Implementation
Future<T> denormalizeBase(
Map<String, dynamic> map,
) async {
try {
return await denormalize(map);
// ignore: avoid_catches_without_on_clauses
} catch (error, trace) {
// TODO(alexeyinkin): Allow to silence this, https://github.com/alexeyinkin/dart-model-fetch/issues/9
print('Error denormalizing object ${map['id']}.'); //ignore: avoid_print
onError(error, trace);
rethrow;
}
}