AggregateBucket.fromJson constructor
AggregateBucket.fromJson(
- Map json_
Implementation
AggregateBucket.fromJson(core.Map json_)
: this(
activity: json_.containsKey('activity')
? json_['activity'] as core.int
: null,
dataset: json_.containsKey('dataset')
? (json_['dataset'] as core.List)
.map((value) => Dataset.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
endTimeMillis: json_.containsKey('endTimeMillis')
? json_['endTimeMillis'] as core.String
: null,
session: json_.containsKey('session')
? Session.fromJson(
json_['session'] as core.Map<core.String, core.dynamic>)
: null,
startTimeMillis: json_.containsKey('startTimeMillis')
? json_['startTimeMillis'] as core.String
: null,
type: json_.containsKey('type') ? json_['type'] as core.String : null,
);