EC2InstanceCounts.fromJson constructor
Implementation
factory EC2InstanceCounts.fromJson(Map<String, dynamic> json) {
return EC2InstanceCounts(
active: json['ACTIVE'] as int?,
desired: json['DESIRED'] as int?,
idle: json['IDLE'] as int?,
maximum: json['MAXIMUM'] as int?,
minimum: json['MINIMUM'] as int?,
pending: json['PENDING'] as int?,
terminating: json['TERMINATING'] as int?,
);
}