MediaJson.fromJson constructor

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

Implementation

factory MediaJson.fromJson(Map<String, dynamic> json) {
  return MediaJson(
    status: json['status'],
    webContents: json['webContents'],
    variantId: json['variantId'],
    storyId: json['storyId'],
    serverIP: json['serverIP'],
    serverName: json['serverName'],
    responseTime: json['responseTime'],
  );
}