@@ -0,0 +1,891 @@
+package com.cloudwebrtc.webrtc.utils;%0A%0Aimport android.os.Looper;%0Aimport android.os.Handler;%0A%0Aimport io.flutter.plugin.common.MethodChannel;%0A%0Apublic final class AnyThreadResult implements MethodChannel.Result %7B%0A    final private MethodChannel.Result result;%0A%0A    public AnyThreadResult(MethodChannel.Result result) %7B%0A        this.result = result;%0A    %7D%0A%0A    @Override%0A    public void success(Object o) %7B%0A        final Handler handler = new Handler(Looper.getMainLooper());%0A        handler.post(()-%3Eresult.success(o));%0A    %7D%0A%0A    @Override%0A    public void error(String s, String s1, Object o) %7B%0A        final Handler handler = new Handler(Looper.getMainLooper());%0A        handler.post(()-%3Eresult.error(s, s1, o));%0A    %7D%0A%0A    @Override%0A    public void notImplemented() %7B%0A        final Handler handler = new Handler(Looper.getMainLooper());%0A        handler.post(result::notImplemented);%0A    %7D%0A%7D%0A

Create AnyThreadResult.java