FileContentHints.fromJson constructor

FileContentHints.fromJson(
  1. Map json_
)

Implementation

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