DescribeInstancesResult.fromJson constructor

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

Implementation

factory DescribeInstancesResult.fromJson(Map<String, dynamic> json) {
  return DescribeInstancesResult(
    instances: (json['Instances'] as List?)
        ?.whereNotNull()
        .map((e) => Instance.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}