Image.fromJson constructor

Image.fromJson(
  1. Map json_
)

Implementation

Image.fromJson(core.Map json_)
    : this(
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        sha1: json_.containsKey('sha1') ? json_['sha1'] as core.String : null,
        sha256: json_.containsKey('sha256')
            ? json_['sha256'] as core.String
            : null,
        url: json_.containsKey('url') ? json_['url'] as core.String : null,
      );