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