CockpitTimelineProfile.fromJson constructor
CockpitTimelineProfile.fromJson(
- Object? value
Implementation
factory CockpitTimelineProfile.fromJson(Object? value) {
final json = _object(value, r'$.devtools.timeline');
return CockpitTimelineProfile(
recorder: _string(json['recorder'], r'$.devtools.timeline.recorder'),
availableStreams: _strings(
json['available'],
r'$.devtools.timeline.available',
),
recordedStreams: _strings(
json['recorded'],
r'$.devtools.timeline.recorded',
),
);
}