ListOfferingTransactionsResult.fromJson constructor

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

Implementation

factory ListOfferingTransactionsResult.fromJson(Map<String, dynamic> json) {
  return ListOfferingTransactionsResult(
    nextToken: json['nextToken'] as String?,
    offeringTransactions: (json['offeringTransactions'] as List?)
        ?.whereNotNull()
        .map((e) => OfferingTransaction.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}