TimeSliceGroup class

The timings of an async operation, consist of several sync slices and includes total startTime, stopTime, and duration.

Implemented types
Implementers
Annotations
  • @JsonSerializable()

Constructors

TimeSliceGroup(List<TimeSlice> slices)
TimeSliceGroup.fromJson(Map<String, dynamic> json)
Constructs TimeSliceGroup from JSON representation
factory

Properties

duration Duration
The total duration of this operation, equivalent to taking the difference between stopTime and startTime.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
innerDuration Duration
Sum of durations of all slices.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
slices List<TimeSlice>
final
startTime DateTime
no setteroverride
stopTime DateTime
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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