DescribeServersResponse.fromJson constructor
Implementation
factory DescribeServersResponse.fromJson(Map<String, dynamic> json) {
return DescribeServersResponse(
nextToken: json['NextToken'] as String?,
servers: (json['Servers'] as List?)
?.whereNotNull()
.map((e) => Server.fromJson(e as Map<String, dynamic>))
.toList(),
);
}