getHealthStature method

Future<GetHealthData> getHealthStature({
  1. DateTime? startDate,
  2. DateTime? endDate,
})

Implementation

Future<GetHealthData> getHealthStature(
    {DateTime? startDate, DateTime? endDate}) async {
  var result = await _channel.invokeMethod('getHealthStature', {
    'startDate': (startDate ?? DateTime.now()).millisecondsSinceEpoch,
    'endDate': (endDate ?? DateTime.now()).millisecondsSinceEpoch
  });
  return GetHealthData.fromJson(result);
}