Media.fromMap constructor

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

Implementation

factory Media.fromMap(Map<String, dynamic> json) => Media(
      mid: json["mid"],
      type: json["type"],
      label: json["label"],
      ageMs: json["age_ms"],
    );