GetOutpostInstanceTypesOutput.fromJson constructor
GetOutpostInstanceTypesOutput.fromJson(
- Map<String, dynamic> json
)
Implementation
factory GetOutpostInstanceTypesOutput.fromJson(Map<String, dynamic> json) {
return GetOutpostInstanceTypesOutput(
instanceTypes: (json['InstanceTypes'] as List?)
?.whereNotNull()
.map((e) => InstanceTypeItem.fromJson(e as Map<String, dynamic>))
.toList(),
nextToken: json['NextToken'] as String?,
outpostArn: json['OutpostArn'] as String?,
outpostId: json['OutpostId'] as String?,
);
}