InputSpecification.fromJson constructor

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

Implementation

factory InputSpecification.fromJson(Map<String, dynamic> json) {
  return InputSpecification(
    codec: (json['codec'] as String?)?.toInputCodec(),
    maximumBitrate:
        (json['maximumBitrate'] as String?)?.toInputMaximumBitrate(),
    resolution: (json['resolution'] as String?)?.toInputResolution(),
  );
}