cacheClass<T> method
Implementation
void cacheClass<T>(String key, T object) {
if (object is! Map<String, dynamic>) {
throw ArgumentError('Object must be a Map<String, dynamic>');
}
_cache[key] = object;
}
void cacheClass<T>(String key, T object) {
if (object is! Map<String, dynamic>) {
throw ArgumentError('Object must be a Map<String, dynamic>');
}
_cache[key] = object;
}