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,
      );