SettlementTransactionAmount.fromJson constructor

SettlementTransactionAmount.fromJson(
  1. Map json_
)

Implementation

SettlementTransactionAmount.fromJson(core.Map json_)
    : this(
        commission: json_.containsKey('commission')
            ? SettlementTransactionAmountCommission.fromJson(
                json_['commission'] as core.Map<core.String, core.dynamic>)
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        transactionAmount: json_.containsKey('transactionAmount')
            ? Price.fromJson(json_['transactionAmount']
                as core.Map<core.String, core.dynamic>)
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );