VideoMetadata.fromJson constructor

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

Implementation

factory VideoMetadata.fromJson(Map<String, dynamic> json) {
  return VideoMetadata(
    codec: json['Codec'] as String?,
    durationMillis: json['DurationMillis'] as int?,
    format: json['Format'] as String?,
    frameHeight: json['FrameHeight'] as int?,
    frameRate: json['FrameRate'] as double?,
    frameWidth: json['FrameWidth'] as int?,
  );
}