WakatimeApi class

Constructors

WakatimeApi([String? apiKey])
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getAllTimeSinceToday({String? project}) Future<AggregatedData?>
Gets the stats from day 0 since today for the current user
getDurations({DateTime? date, String? project, SlicedBy? sliceBy}) Future<List<HeartbeatDuration>>
Gets the time entries for the current user
getHeartbeats(DateTime date) Future<List<Heartbeat>>
Gets the heartbeats for a given date
getHeartBeatsForRange(DateTime initialDate, DateTime finalDate) Future<List<Heartbeat>>
Gets the heartbeats for the range between initialDate and finalDate
getProjects() Future<List<Project>>
Gets the project connected to the current user
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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