ListPartnerEventSourceAccountsResponse.fromJson constructor
ListPartnerEventSourceAccountsResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ListPartnerEventSourceAccountsResponse.fromJson(
Map<String, dynamic> json) {
return ListPartnerEventSourceAccountsResponse(
nextToken: json['NextToken'] as String?,
partnerEventSourceAccounts: (json['PartnerEventSourceAccounts'] as List?)
?.whereNotNull()
.map((e) =>
PartnerEventSourceAccount.fromJson(e as Map<String, dynamic>))
.toList(),
);
}