getAppleHealthElement method
Implementation
Future<AppleHealthElement?> getAppleHealthElement(String id) async {
try {
return appleHealthElementBox!.values
.firstWhere((element) => element.id == id);
} catch (_) {}
return null;
}
Future<AppleHealthElement?> getAppleHealthElement(String id) async {
try {
return appleHealthElementBox!.values
.firstWhere((element) => element.id == id);
} catch (_) {}
return null;
}