AdSize.fromJson constructor

AdSize.fromJson(
  1. Map _json
)

Implementation

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