addHealthMindfulness method
Implementation
Future<ResultBase> addHealthMindfulness(
DateTime startDate, DateTime endDate) async {
var tempStartDate = startDate;
var tempEndDate = endDate;
if (endDate.isBefore(startDate)) {
tempStartDate = endDate;
tempEndDate = startDate;
}
var result = await _channel.invokeMethod('addHealthMindfulness', {
'startDate': tempStartDate.millisecondsSinceEpoch,
'endDate': tempEndDate.millisecondsSinceEpoch
});
return ResultBase.fromJson(result);
}