TimeSlice class

The timings of an operation, including its startTime, stopTime, and duration.

Implementers
Annotations
  • @JsonSerializable()

Constructors

TimeSlice(DateTime startTime, DateTime stopTime)
TimeSlice.fromJson(Map<String, dynamic> json)
factory

Properties

duration Duration
The total duration of this operation, equivalent to taking the difference between stopTime and startTime.
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startTime DateTime
final
stopTime DateTime
final

Methods

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

Operators

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