FileContentHints.fromJson constructor

FileContentHints.fromJson(
  1. Map json_
)

Implementation

FileContentHints.fromJson(core.Map json_)
    : this(
        indexableText: json_.containsKey('indexableText')
            ? json_['indexableText'] as core.String
            : null,
        thumbnail: json_.containsKey('thumbnail')
            ? FileContentHintsThumbnail.fromJson(
                json_['thumbnail'] as core.Map<core.String, core.dynamic>)
            : null,
      );