BrPromotedVideoModel.fromJson constructor

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

Implementation

BrPromotedVideoModel.fromJson(Map<String, dynamic> json) {
  if (json["oobrPlaceId"] is String) oobrPlaceId = json["oobrPlaceId"];
  if (json["videos"] is List) {
    videos = json["videos"] == null ? null : List<String>.from(json["videos"]);
  }
}