$PlatformType.fromJson constructor Null safety

$PlatformType.fromJson(
  1. Map _json
)

Implementation

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