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