writeData method
Writes data to the database using the specified SQL query.
Implementation
@override
Future<String> writeData(String query) async {
try {
final String? result = await methodChannel
.invokeMethod<String>('writeData', {'query': query});
return result ?? '';
} catch (e) {
rethrow;
}
}