Shard.fromJson constructor
Shard.fromJson(
- Map _json
Implementation
Shard.fromJson(core.Map _json)
: this(
numShards: _json.containsKey('numShards')
? _json['numShards'] as core.int
: null,
shardIndex: _json.containsKey('shardIndex')
? _json['shardIndex'] as core.int
: null,
testTargetsForShard: _json.containsKey('testTargetsForShard')
? TestTargetsForShard.fromJson(_json['testTargetsForShard']
as core.Map<core.String, core.dynamic>)
: null,
);