FileVideoMediaMetadata.fromJson constructor

FileVideoMediaMetadata.fromJson(
  1. Map json_
)

Implementation

FileVideoMediaMetadata.fromJson(core.Map json_)
    : this(
        durationMillis: json_.containsKey('durationMillis')
            ? json_['durationMillis'] as core.String
            : null,
        height:
            json_.containsKey('height') ? json_['height'] as core.int : null,
        width: json_.containsKey('width') ? json_['width'] as core.int : null,
      );