FileInfo.fromJson constructor

FileInfo.fromJson(
  1. Map json_
)

Implementation

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