ListClass.fromJson constructor

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

Implementation

factory ListClass.fromJson(Map<String, dynamic> json) => ListClass(
      id: json["id"],
      preview: json["preview"],
      file: json["file"],
    );