HtmlContent.fromJson constructor

HtmlContent.fromJson(
  1. Map json_
)

Implementation

HtmlContent.fromJson(core.Map json_)
    : this(
        height:
            json_.containsKey('height') ? json_['height'] as core.int : null,
        snippet: json_.containsKey('snippet')
            ? json_['snippet'] as core.String
            : null,
        width: json_.containsKey('width') ? json_['width'] as core.int : null,
      );