getModel method

Future<CacheObject?> getModel(
  1. String id
)

Implementation

Future<CacheObject?> getModel(String id) async {
  CacheObject? cacheObject = await CacheHandler.getCacheObjectFromList(
      "network_faker_database_" + _id, "id", id);
  if (cacheObject == null) {
    return null;
  }
  return cacheObject;
}