createBooleanValue static method

JsonValue createBooleanValue(
  1. bool input
)

Implementation

static JsonValue createBooleanValue(bool input) {
  final activationFactory =
      CreateActivationFactory(_className, IID_IJsonValueStatics);

  try {
    return IJsonValueStatics.fromRawPointer(activationFactory)
        .createBooleanValue(input);
  } finally {
    free(activationFactory);
  }
}