addHealthStepCount method
Implementation
Future<ResultBase> addHealthStepCount(double stepCount,
{DateTime? startDate, DateTime? endDate}) async {
var result = await _channel.invokeMethod('addHealthStepCount', {
'stepCount': stepCount,
'startDate': (startDate ?? DateTime.now()).millisecondsSinceEpoch,
'endDate': (endDate ?? DateTime.now()).millisecondsSinceEpoch
});
return ResultBase.fromJson(result);
}