syncData method
Implementation
@override
Future<void> syncData({List<HealthResource>? resources}) async {
try {
await _channel.invokeMethod('syncData', <String, dynamic>{
"resources": resources?.map((e) => e.name).toList(),
});
} on Exception catch (e) {
throw _mapException(e);
}
}