toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (cohortReportSettings != null)
        'cohortReportSettings': cohortReportSettings!.toJson(),
      if (cohorts != null)
        'cohorts': cohorts!.map((value) => value.toJson()).toList(),
      if (cohortsRange != null) 'cohortsRange': cohortsRange!.toJson(),
    };