$PartitionId.fromJson constructor Null safety

$PartitionId.fromJson(
  1. Map _json
)

Implementation

$PartitionId.fromJson(core.Map _json)
    : this(
        namespaceId: _json.containsKey('namespaceId')
            ? _json['namespaceId'] as core.String
            : null,
        projectId: _json.containsKey('projectId')
            ? _json['projectId'] as core.String
            : null,
      );