FileContentHintsThumbnail.fromJson constructor

FileContentHintsThumbnail.fromJson(
  1. Map json_
)

Implementation

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