AppsModel.fromMap constructor

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

Implementation

factory AppsModel.fromMap(Map<String, dynamic> map) {
  return AppsModel(
    appID: map['appID'],
    appName: map['appName'],
    webUrl: map['webUrl'],
    youtube: map['youtube'],
    image: map['image'],
    open: map['open'],
    order: map['order'],
    category: Translation.fromMap(map['category']),
    description: Translation.fromMap(map['description']),
    android: AppMeta.fromMap(map['android']),
    ios: AppMeta.fromMap(map['ios']),
  );
}