BucketByTimePeriod.fromJson constructor

BucketByTimePeriod.fromJson(
  1. Map json_
)

Implementation

BucketByTimePeriod.fromJson(core.Map json_)
    : this(
        timeZoneId: json_.containsKey('timeZoneId')
            ? json_['timeZoneId'] as core.String
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
        value: json_.containsKey('value') ? json_['value'] as core.int : null,
      );