fromMap static method

APICacheDBModel fromMap(
  1. Map<String, dynamic> map
)

Implementation

static APICacheDBModel fromMap(Map<String, dynamic> map) {
  return APICacheDBModel(
    key: map["key"],
    syncData: map["syncData"].toString(),
    syncTime: map["syncTime"],
  );
}