BucketByTime.fromJson constructor

BucketByTime.fromJson(
  1. Map json_
)

Implementation

BucketByTime.fromJson(core.Map json_)
    : this(
        durationMillis: json_.containsKey('durationMillis')
            ? json_['durationMillis'] as core.String
            : null,
        period: json_.containsKey('period')
            ? BucketByTimePeriod.fromJson(
                json_['period'] as core.Map<core.String, core.dynamic>)
            : null,
      );