DescribeConnectionAliasesResult.fromJson constructor

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

Implementation

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