ResponseData.fromMap constructor

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

Implementation

factory ResponseData.fromMap(Map<String, dynamic> map) {
  return ResponseData(
    items:
        List<AppsModel>.from(map['items']?.map((x) => AppsModel.fromMap(x))),
    layoutModel: LayoutModel.fromMap(map['layout']),
  );
}