toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (h264 != null) 'h264': h264!,
      if (h265 != null) 'h265': h265!,
      if (vp9 != null) 'vp9': vp9!,
    };