Media.fromJson constructor

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

Implementation

Media.fromJson(Map<String, dynamic> json) {
  type = json['type'];
  image = json['image'];
}