@override Future<String> getLastError() { return methodChannel .invokeMethod<String>('getLastError') .then<String>((String? value) => value ?? ""); }