encodeDartOpaqueCommon function

PlatformPointer encodeDartOpaqueCommon(
  1. Object raw,
  2. NativePortType dartHandlerPort,
  3. GeneralizedFrbRustBinding generalizedFrbRustBinding
)

The code is used only internally and is not a public API. The comment exists mainly to satisfy the linter.

Implementation

PlatformPointer encodeDartOpaqueCommon(
    Object raw,
    NativePortType dartHandlerPort,
    GeneralizedFrbRustBinding generalizedFrbRustBinding) {
  return generalizedFrbRustBinding.dartOpaqueDart2RustEncode(
      raw, dartHandlerPort);
}