SimpleMediaItem.fromJson constructor

SimpleMediaItem.fromJson(
  1. Map json_
)

Implementation

SimpleMediaItem.fromJson(core.Map json_)
    : this(
        fileName: json_.containsKey('fileName')
            ? json_['fileName'] as core.String
            : null,
        uploadToken: json_.containsKey('uploadToken')
            ? json_['uploadToken'] as core.String
            : null,
      );