Image.fromJson constructor

Image.fromJson(
  1. Map _json
)

Implementation

Image.fromJson(core.Map _json)
    : this(
        height:
            _json.containsKey('height') ? _json['height'] as core.int : null,
        url: _json.containsKey('url') ? _json['url'] as core.String : null,
        width: _json.containsKey('width') ? _json['width'] as core.int : null,
      );