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