InstallmentPlan.fromJson constructor

InstallmentPlan.fromJson(
  1. Map json_
)

Implementation

InstallmentPlan.fromJson(core.Map json_)
    : this(
        initialCommittedPaymentsCount:
            json_.containsKey('initialCommittedPaymentsCount')
                ? json_['initialCommittedPaymentsCount'] as core.int
                : null,
        pendingCancellation: json_.containsKey('pendingCancellation')
            ? PendingCancellation.fromJson(json_['pendingCancellation']
                as core.Map<core.String, core.dynamic>)
            : null,
        remainingCommittedPaymentsCount:
            json_.containsKey('remainingCommittedPaymentsCount')
                ? json_['remainingCommittedPaymentsCount'] as core.int
                : null,
        subsequentCommittedPaymentsCount:
            json_.containsKey('subsequentCommittedPaymentsCount')
                ? json_['subsequentCommittedPaymentsCount'] as core.int
                : null,
      );