CollectionData.fromJson constructor

CollectionData.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CollectionData.fromJson(Map<String, dynamic> json) {
  return CollectionData(
    lang: json['lang'],
    title: json['title'],
    shortIntro: json['shortIntro'],
  );
}