BrPromotedVideoModel.fromJson constructor

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

Implementation

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