$PlacementStrategy.fromJson constructor Null safety

$PlacementStrategy.fromJson(
  1. Map _json
)

Implementation

$PlacementStrategy.fromJson(core.Map _json)
    : this(
        accountId: _json.containsKey('accountId')
            ? _json['accountId'] as core.String
            : null,
        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,
      );