CohortsRange.fromJson constructor

CohortsRange.fromJson(
  1. Map json_
)

Implementation

CohortsRange.fromJson(core.Map json_)
    : this(
        endOffset: json_.containsKey('endOffset')
            ? json_['endOffset'] as core.int
            : null,
        granularity: json_.containsKey('granularity')
            ? json_['granularity'] as core.String
            : null,
        startOffset: json_.containsKey('startOffset')
            ? json_['startOffset'] as core.int
            : null,
      );