ScreenTimeTracker class

Available extensions

Constructors

ScreenTimeTracker({required String screenName, required DateTime startTime, required Map<String, dynamic> deviceInfo, required String sessionId})

Properties

deviceInfo Map<String, dynamic>
final
endTime DateTime?
getter/setter pair
exceptions List<Map<String, dynamic>>
final
gCareId String
latefinal
hashCode int
The hash code for this object.
no setterinherited
nextScreenName String?
getter/setter pair
renderTime Duration?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screenName String
final
sessionId String
final
startTime DateTime
final

Methods

addException(Object error, StackTrace? stackTrace) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setEndTime(DateTime time) → void
setNextScreenName(String next) → void
setRenderTime(Duration duration) → void
toPayload() ScreenPayload

Available on ScreenTimeTracker, provided by the TrackerToPayload extension

toString() String
A string representation of this object.
override

Operators

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