MediaFile.fromJson constructor

MediaFile.fromJson(
  1. Map json_
)

Implementation

MediaFile.fromJson(core.Map json_)
    : this(
        bitrate: json_.containsKey('bitrate')
            ? json_['bitrate'] as core.String
            : null,
        mimeType: json_.containsKey('mimeType')
            ? json_['mimeType'] as core.String
            : null,
      );