allocationSize static method

int allocationSize(
  1. ObservedMessage value
)

Implementation

static int allocationSize(ObservedMessage value) {
  return FfiConverterString.allocationSize(value.topic) +
      FfiConverterUint8List.allocationSize(value.payload) +
      FfiConverterQoS.allocationSize(value.qos) +
      FfiConverterBool.allocationSize(value.retain) +
      0;
}