CohortGroup.fromJson constructor

CohortGroup.fromJson(
  1. Map json_
)

Implementation

CohortGroup.fromJson(core.Map json_)
    : this(
        cohorts: (json_['cohorts'] as core.List?)
            ?.map((value) =>
                Cohort.fromJson(value as core.Map<core.String, core.dynamic>))
            .toList(),
        lifetimeValue: json_['lifetimeValue'] as core.bool?,
      );