writeHealthData method

  1. @Deprecated("Use top-level `writeHealthData` in vital_health instead")
Future<void> writeHealthData(
  1. HealthResourceWrite writeResource,
  2. DateTime startDate,
  3. DateTime endDate,
  4. double value,
)

Implementation

@Deprecated("Use top-level `writeHealthData` in vital_health instead")
Future<void> writeHealthData(HealthResourceWrite writeResource,
    DateTime startDate, DateTime endDate, double value) async {
  await VitalHealthPlatform.instance
      .writeHealthData(writeResource, startDate, endDate, value);
}