DescribeStacksResult.fromJson constructor

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

Implementation

factory DescribeStacksResult.fromJson(Map<String, dynamic> json) {
  return DescribeStacksResult(
    stacks: (json['Stacks'] as List?)
        ?.whereNotNull()
        .map((e) => Stack.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}