PropertySingleVideo.fromJson constructor

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

Implementation

factory PropertySingleVideo.fromJson(Map<String, dynamic> json) => PropertySingleVideo(
      uuid: json['uuid'],
      position: json['position'],
      audioTrack: PropertyContent<MediaResourceAudio>.fromJson(json['audio_track']),
      defaultVideo: PropertyContent<MediaResourceVideo>.fromJson(json['default_video']),
    );