getResponse method
Implementation
@override
Future<String> getResponse({required String message}) async {
var response = '';
try {
final String result =
await methodChannel.invokeMethod('getResponse', {'msg': message});
response = result;
} catch (e) {
response = 'unknown';
}
return response;
}