deleteRecord method
Implementation
Future<void> deleteRecord({
required String id,
}) async {
try {
await _methodChannel.invokeMethod(
'deleteRecord',
{
'id': id,
},
);
} catch (err) {
throw _mapException(err as PlatformException);
}
}