$Size.fromJson constructor

$Size.fromJson(
  1. Map json_
)

Implementation

$Size.fromJson(core.Map json_)
    : this(
        height:
            json_.containsKey('height') ? json_['height'] as core.int : null,
        iab: json_.containsKey('iab') ? json_['iab'] as core.bool : null,
        id: json_.containsKey('id') ? json_['id'] as core.String : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        width: json_.containsKey('width') ? json_['width'] as core.int : null,
      );