napiSetNamedProperty function

  1. @Available.new(napi: 1)
  2. @Native<Int32 Function(NapiEnv, NapiValue, Pointer<Char>, NapiValue)>(NapiEnv, NapiValue, Pointer<Char>, NapiValue)>(symbol: 'napi_set_named_property')
int napiSetNamedProperty(
  1. NapiEnv env,
  2. NapiValue object,
  3. Pointer<Char> utf8name,
  4. NapiValue value,
)

Implementation

@Available(napi: 1)
@Native<Int32 Function(NapiEnv, NapiValue, Pointer<Char>, NapiValue)>(
  symbol: 'napi_set_named_property',
)
external int napiSetNamedProperty(
  NapiEnv env,
  NapiValue object,
  Pointer<Char> utf8name,
  NapiValue value,
);