SettlementTransaction.fromJson constructor

SettlementTransaction.fromJson(
  1. Map json_
)

Implementation

SettlementTransaction.fromJson(core.Map json_)
    : this(
        amount: json_.containsKey('amount')
            ? SettlementTransactionAmount.fromJson(
                json_['amount'] as core.Map<core.String, core.dynamic>)
            : null,
        identifiers: json_.containsKey('identifiers')
            ? SettlementTransactionIdentifiers.fromJson(
                json_['identifiers'] as core.Map<core.String, core.dynamic>)
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        transaction: json_.containsKey('transaction')
            ? SettlementTransactionTransaction.fromJson(
                json_['transaction'] as core.Map<core.String, core.dynamic>)
            : null,
      );