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