InstanceDetails.fromJson constructor
InstanceDetails.fromJson(
- Map<String, dynamic> json
)
Implementation
factory InstanceDetails.fromJson(Map<String, dynamic> json) {
return InstanceDetails(
eC2InstanceDetails: json['EC2InstanceDetails'] != null
? EC2InstanceDetails.fromJson(
json['EC2InstanceDetails'] as Map<String, dynamic>)
: null,
eSInstanceDetails: json['ESInstanceDetails'] != null
? ESInstanceDetails.fromJson(
json['ESInstanceDetails'] as Map<String, dynamic>)
: null,
elastiCacheInstanceDetails: json['ElastiCacheInstanceDetails'] != null
? ElastiCacheInstanceDetails.fromJson(
json['ElastiCacheInstanceDetails'] as Map<String, dynamic>)
: null,
rDSInstanceDetails: json['RDSInstanceDetails'] != null
? RDSInstanceDetails.fromJson(
json['RDSInstanceDetails'] as Map<String, dynamic>)
: null,
redshiftInstanceDetails: json['RedshiftInstanceDetails'] != null
? RedshiftInstanceDetails.fromJson(
json['RedshiftInstanceDetails'] as Map<String, dynamic>)
: null,
);
}