DeploymentStrategy.fromJson constructor
DeploymentStrategy.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DeploymentStrategy.fromJson(Map<String, dynamic> json) {
return DeploymentStrategy(
deploymentDurationInMinutes: json['DeploymentDurationInMinutes'] as int?,
description: json['Description'] as String?,
finalBakeTimeInMinutes: json['FinalBakeTimeInMinutes'] as int?,
growthFactor: json['GrowthFactor'] as double?,
growthType: (json['GrowthType'] as String?)?.toGrowthType(),
id: json['Id'] as String?,
name: json['Name'] as String?,
replicateTo: (json['ReplicateTo'] as String?)?.toReplicateTo(),
);
}