InstanceDefinition.fromJson constructor
Implementation
factory InstanceDefinition.fromJson(Map<String, dynamic> json) {
return InstanceDefinition(
instanceType:
(json['InstanceType'] as String).toGameServerGroupInstanceType(),
weightedCapacity: json['WeightedCapacity'] as String?,
);
}