VimeoOwner.fromJson constructor

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

Implementation

VimeoOwner.fromJson(Map<String, dynamic> json) {
  if (json["account_type"] is String) accountType = json["account_type"];
  if (json["name"] is String) name = json["name"];
  if (json["img"] is String) img = json["img"];
  if (json["url"] is String) url = json["url"];
  if (json["img_2x"] is String) img2X = json["img_2x"];
  if (json["id"] is int) id = json["id"];
}