Timeline class Null safety

Inheritance

Constructors

Timeline({required List<TimelineEvent>? traceEvents, required int? timeOriginMicros, required int? timeExtentMicros})

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
json Map<String, dynamic>?
read / write, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
timeExtentMicros int?
The duration of time covered by the timeline.
read / write
timeOriginMicros int?
The start of the period of time in which traceEvents were collected.
read / write
traceEvents List<TimelineEvent>?
A list of timeline events. No order is guarenteed for these events; in particular, these events may be unordered with respect to their timestamps.
read / write
type String
read-only, override

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object. [...]
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited

Static Methods

parse(Map<String, dynamic>? json) Timeline?
override