FactoryImpl class
Concrete implementation of FactoryInterface providing access to platform-specific health data factories and communication channels.
- Implemented types
Constructors
- FactoryImpl()
- Initializes the factory with platform-specific data factories.
Properties
- channel ↔ MethodChannel
-
Channel for communicating with native platform code for health data.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hcDataFactory ↔ HCDataFactory
-
Factory for creating Health Connect (Android) data objects.
getter/setter pair
- hkDataFactory ↔ HKDataFactory
-
Factory for creating HealthKit (iOS) data objects.
getter/setter pair
- jsonConverter ↔ JsonConverterImpl
-
Utility for safely converting JSON data structures.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getHCDataFactory(
) → HCDataFactory -
Returns the factory for Health Connect data objects (Android).
override
-
getHKDataFactory(
) → HKDataFactory -
Returns the factory for HealthKit data objects (iOS).
override
-
getJsonConverter(
) → JsonConverter -
Returns the JSON converter for safe data transformation.
override
-
getMethodChannel(
) → MethodChannel -
Returns the method channel for native platform communication.
override
-
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