ResultImage.fromJson constructor

ResultImage.fromJson(
  1. Map json_
)

Implementation

ResultImage.fromJson(core.Map json_)
    : this(
        byteSize: json_.containsKey('byteSize')
            ? json_['byteSize'] as core.int
            : null,
        contextLink: json_.containsKey('contextLink')
            ? json_['contextLink'] as core.String
            : null,
        height:
            json_.containsKey('height') ? json_['height'] as core.int : null,
        thumbnailHeight: json_.containsKey('thumbnailHeight')
            ? json_['thumbnailHeight'] as core.int
            : null,
        thumbnailLink: json_.containsKey('thumbnailLink')
            ? json_['thumbnailLink'] as core.String
            : null,
        thumbnailWidth: json_.containsKey('thumbnailWidth')
            ? json_['thumbnailWidth'] as core.int
            : null,
        width: json_.containsKey('width') ? json_['width'] as core.int : null,
      );