ResourceDetails.fromJson constructor

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

Implementation

factory ResourceDetails.fromJson(Map<String, dynamic> json) {
  return ResourceDetails(
    eC2ResourceDetails: json['EC2ResourceDetails'] != null
        ? EC2ResourceDetails.fromJson(
            json['EC2ResourceDetails'] as Map<String, dynamic>)
        : null,
  );
}