toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (calendarPeriod != null) 'calendarPeriod': calendarPeriod!,
      if (creditTypes != null) 'creditTypes': creditTypes!,
      if (creditTypesTreatment != null)
        'creditTypesTreatment': creditTypesTreatment!,
      if (customPeriod != null) 'customPeriod': customPeriod!,
      if (labels != null) 'labels': labels!,
      if (projects != null) 'projects': projects!,
      if (resourceAncestors != null) 'resourceAncestors': resourceAncestors!,
      if (services != null) 'services': services!,
      if (subaccounts != null) 'subaccounts': subaccounts!,
    };