EC2InstanceDetails.fromJson constructor

EC2InstanceDetails.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory EC2InstanceDetails.fromJson(Map<String, dynamic> json) {
  return EC2InstanceDetails(
    availabilityZone: json['AvailabilityZone'] as String?,
    currentGeneration: json['CurrentGeneration'] as bool?,
    family: json['Family'] as String?,
    instanceType: json['InstanceType'] as String?,
    platform: json['Platform'] as String?,
    region: json['Region'] as String?,
    sizeFlexEligible: json['SizeFlexEligible'] as bool?,
    tenancy: json['Tenancy'] as String?,
  );
}