WebImage.fromJson constructor

WebImage.fromJson(
  1. Map json_
)

Implementation

WebImage.fromJson(core.Map json_)
    : this(
        score: json_.containsKey('score')
            ? (json_['score'] as core.num).toDouble()
            : null,
        url: json_.containsKey('url') ? json_['url'] as core.String : null,
      );