ListBonusPaymentsResponse.fromJson constructor
Implementation
factory ListBonusPaymentsResponse.fromJson(Map<String, dynamic> json) {
return ListBonusPaymentsResponse(
bonusPayments: (json['BonusPayments'] as List?)
?.whereNotNull()
.map((e) => BonusPayment.fromJson(e as Map<String, dynamic>))
.toList(),
nextToken: json['NextToken'] as String?,
numResults: json['NumResults'] as int?,
);
}