OutputDetail.fromJson constructor

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

Implementation

factory OutputDetail.fromJson(Map<String, dynamic> json) {
  return OutputDetail(
    durationInMs: json['durationInMs'] as int?,
    videoDetails: json['videoDetails'] != null
        ? VideoDetail.fromJson(json['videoDetails'] as Map<String, dynamic>)
        : null,
  );
}