OrderreportsListTransactionsResponse.fromJson constructor

OrderreportsListTransactionsResponse.fromJson(
  1. Map json_
)

Implementation

OrderreportsListTransactionsResponse.fromJson(core.Map json_)
    : this(
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        nextPageToken: json_.containsKey('nextPageToken')
            ? json_['nextPageToken'] as core.String
            : null,
        transactions: json_.containsKey('transactions')
            ? (json_['transactions'] as core.List)
                .map((value) => OrderReportTransaction.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );