5package io.flutter.plugin.common;
7import androidx.annotation.NonNull;
8import androidx.annotation.Nullable;
9import java.nio.ByteBuffer;
63 @NonNull String errorCode, @Nullable String errorMessage, @Nullable Object errorDetails);
78 @NonNull String errorCode,
79 @Nullable String errorMessage,
80 @Nullable Object errorDetails,
81 @Nullable String errorStacktrace);
ByteBuffer encodeSuccessEnvelope(@Nullable Object result)
ByteBuffer encodeErrorEnvelope( @NonNull String errorCode, @Nullable String errorMessage, @Nullable Object errorDetails)
ByteBuffer encodeMethodCall(@NonNull MethodCall methodCall)
MethodCall decodeMethodCall(@NonNull ByteBuffer methodCall)
ByteBuffer encodeErrorEnvelopeWithStacktrace( @NonNull String errorCode, @Nullable String errorMessage, @Nullable Object errorDetails, @Nullable String errorStacktrace)
Object decodeEnvelope(@NonNull ByteBuffer envelope)