FileThumbnail.fromJson constructor

FileThumbnail.fromJson(
  1. Map json_
)

Implementation

FileThumbnail.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,
      );