Installment.fromJson constructor

Installment.fromJson(
  1. Map json_
)

Implementation

Installment.fromJson(core.Map json_)
    : this(
        amount: json_.containsKey('amount')
            ? Price.fromJson(
                json_['amount'] as core.Map<core.String, core.dynamic>)
            : null,
        creditType: json_.containsKey('creditType')
            ? json_['creditType'] as core.String
            : null,
        downpayment: json_.containsKey('downpayment')
            ? Price.fromJson(
                json_['downpayment'] as core.Map<core.String, core.dynamic>)
            : null,
        months: json_.containsKey('months')
            ? json_['months'] as core.String
            : null,
      );