toPointer static method

Pointer<Void> toPointer(
  1. LogInfo? val
)

Implementation

static Pointer<Void> toPointer(LogInfo? val)  {
    if (val == null) {
      return nullptr;
    }
    final result = malloc<LogInfoNative>();
    result.ref = toNative(val);
    return result.cast();
}