ListAssociatedStacksResult.fromJson constructor

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

Implementation

factory ListAssociatedStacksResult.fromJson(Map<String, dynamic> json) {
  return ListAssociatedStacksResult(
    names: (json['Names'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
    nextToken: json['NextToken'] as String?,
  );
}