ESInstanceDetails.fromJson constructor

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

Implementation

factory ESInstanceDetails.fromJson(Map<String, dynamic> json) {
  return ESInstanceDetails(
    currentGeneration: json['CurrentGeneration'] as bool?,
    instanceClass: json['InstanceClass'] as String?,
    instanceSize: json['InstanceSize'] as String?,
    region: json['Region'] as String?,
    sizeFlexEligible: json['SizeFlexEligible'] as bool?,
  );
}