$Dimension.fromJson constructor Null safety

$Dimension.fromJson(
  1. Map _json
)

Implementation

$Dimension.fromJson(core.Map _json)
    : this(
        kind: _json.containsKey('kind') ? _json['kind'] as core.String : null,
        name: _json.containsKey('name') ? _json['name'] as core.String : null,
      );