Record class
Constructors
-
Record.new({required String recordId, required String? inputMethod, required DateTime startAt, required DateTime? endAt, required DateTime modifiedAt, required int? duration, required String? provider, required String? providerSource, required bool? isSourceAggregated, required RecordSource? source, required Map<
String, num> ? metrics, required int? sleepScore, required List<ActivityTag> ? activityTags, required String? activityType, required List<ActivityEntry> ? sessions, required List<ActivityEntry> ? laps, required List<ActivityEntry> ? segments, required List<ActivityEntry> ? splits, required List<ActivityEntry> ? samples, required List<ActivityEntry> ? routePoints, required List<ActivityEntry> ? sleep}) -
Record.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
activityTags
→ List<
ActivityTag> ? -
final
- activityType → String?
-
final
- duration → int?
-
final
- endAt → DateTime?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- inputMethod → String?
-
final
- isSourceAggregated → bool?
-
final
-
laps
→ List<
ActivityEntry> ? -
final
-
metrics
→ Map<
String, num> ? -
final
- modifiedAt → DateTime
-
final
- provider → String?
-
final
- providerSource → String?
-
final
- recordId → String
-
final
-
routePoints
→ List<
ActivityEntry> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
samples
→ List<
ActivityEntry> ? -
final
-
segments
→ List<
ActivityEntry> ? -
final
-
sessions
→ List<
ActivityEntry> ? -
final
-
sleep
→ List<
ActivityEntry> ? -
final
- sleepScore → int?
-
final
- source → RecordSource?
-
final
-
splits
→ List<
ActivityEntry> ? -
final
- startAt → 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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited