Database class
Constructors
- Database()
Properties
-
appleHealthElementBox
↔ Box<
AppleHealthElement> ? -
getter/setter pair
-
googleHealthConnectElementBox
↔ Box<
GoogleHealthConnectElement> ? -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
deleteAppleHealthElement(
AppleHealthElement element) → void -
deleteGoogleHealthConnectElement(
GoogleHealthConnectElement element) → void -
getAppleHealthElement(
String id) → Future< AppleHealthElement?> -
getAppleHealthElementByDateAndParameter(
String? type, String? from, String? to) → Future< AppleHealthElement?> -
getGoogleHealthConnectElement(
String id) → Future< GoogleHealthConnectElement?> -
getGoogleHealthConnectElementByDateAndParameter(
String? type, String? from, String? to) → Future< GoogleHealthConnectElement?> -
getOldSyncedAppleHealthElements(
) → List< AppleHealthElement> -
getOldSyncedGoogleHealthConnectElements(
) → List< GoogleHealthConnectElement> -
getUnsyncedAppleHealthElements(
) → List< AppleHealthElement> -
getUnsyncedGoogleHealthConnectElements(
) → List< GoogleHealthConnectElement> -
init(
) → dynamic -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
saveAppleHealthElement(
AppleHealthElement element) → Future< int> -
saveGoogleHealthConnectElement(
GoogleHealthConnectElement element) → Future< int> -
toString(
) → String -
A string representation of this object.
inherited
-
updateAppleHealthElement(
AppleHealthElement element) → Future< void> -
updateGoogleHealthConnectElement(
GoogleHealthConnectElement element) → Future< void>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited