ShardResponse.fromMap constructor
ShardResponse.fromMap(
- Map<String, dynamic> map
)
Implementation
factory ShardResponse.fromMap(Map<String, dynamic> map) {
return ShardResponse(
estimatedShardDuration: pulumi.Input.fromValue(map['estimatedShardDuration'] as String),
numShards: pulumi.Input.fromValue(map['numShards'] as int),
shardIndex: pulumi.Input.fromValue(map['shardIndex'] as int),
testTargetsForShard: pulumi.Input.fromValue(TestTargetsForShardResponse.fromMap((map['testTargetsForShard']! as Map).cast<String, dynamic>())),
);
}