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