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,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
        width:
            json_.containsKey('width') ? json_['width'] as core.String : null,
      );