$VideoBeanFromJson function

VideoBean $VideoBeanFromJson(
  1. Map<String, dynamic> json
)

Implementation

VideoBean $VideoBeanFromJson(Map<String, dynamic> json) {
	final VideoBean videoBean = VideoBean();
	final String? playURL = jsonConvert.convert<String>(json['playURL']);
	if (playURL != null) {
		videoBean.playURL = playURL;
	}
	final String? format = jsonConvert.convert<String>(json['format']);
	if (format != null) {
		videoBean.format = format;
	}
	final int? width = jsonConvert.convert<int>(json['width']);
	if (width != null) {
		videoBean.width = width;
	}
	final int? height = jsonConvert.convert<int>(json['height']);
	if (height != null) {
		videoBean.height = height;
	}
	return videoBean;
}