flutter: Remove duplicate method from QByteArray.dart

Dart doens't support 2 methods with the same name
This commit is contained in:
Sergio Martins
2022-07-25 17:56:40 +01:00
parent c40f38097a
commit ff7a30dcc3

View File

@@ -855,25 +855,6 @@ class QByteArray {
}
//tag=1024
//tag=1027
// replace(const QByteArray & before, const QByteArray & after)
QByteArray replace_3(QByteArray? before, QByteArray? after) {
//tag=1028
final voidstar_Func_voidstar_voidstar_voidstar func = _dylib
.lookup<
ffi.NativeFunction<
voidstar_Func_voidstar_voidstar_voidstar_FFI>>(
'c_QByteArray__replace_QByteArray_QByteArray')
.asFunction();
//tag=1033
ffi.Pointer<void> result = func(
thisCpp,
before == null ? ffi.nullptr : before.thisCpp,
after == null ? ffi.nullptr : after.thisCpp);
return QByteArray.fromCppPointer(result, false);
}
//tag=1024
//tag=1027
// replace(const QByteArray & before, const char * after)
QByteArray replace_2(QByteArray? before, String? after) {