toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (commitmentInterval != null)
        'commitmentInterval': commitmentInterval!,
      if (isCommitmentPlan != null) 'isCommitmentPlan': isCommitmentPlan!,
      if (planName != null) 'planName': planName!,
    };