Shard.fromJson constructor
Shard.fromJson(
- Map json_
Implementation
Shard.fromJson(core.Map json_)
: this(
estimatedShardDuration: json_.containsKey('estimatedShardDuration')
? json_['estimatedShardDuration'] as core.String
: null,
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,
);