Activity class

Annotations
  • @JsonSerializable(createToJson: false)

Constructors

Activity({String? userId, String? userKey, required String id, required DateTime date, double? caloriesTotal, double? caloriesActive, double? steps, double? dailyMovement, double? low, double? medium, double? high, required Source source})
Activity.fromJson(Map<String, dynamic> json)
factory

Properties

caloriesActive double?
getter/setter pair
caloriesTotal double?
getter/setter pair
dailyMovement double?
getter/setter pair
date DateTime
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
high double?
getter/setter pair
id String
getter/setter pair
low double?
getter/setter pair
medium double?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
source Source
getter/setter pair
steps double?
getter/setter pair
userId String?
getter/setter pair
userKey String?
getter/setter pair

Methods

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