ParametersAPI constructor

ParametersAPI({
  1. void on(
    1. String,
    2. void (
      1. ParameterInputEvent<Object>
      )
    )?,
  2. void once(
    1. String,
    2. void (
      1. ParameterInputEvent<Object>
      )
    )?,
  3. void off(
    1. String,
    2. void (
      1. ParameterInputEvent<Object>
      )
    )?,
})

Implementation

factory ParametersAPI({
  void Function(
    _i2.String,
    void Function(_i3.ParameterInputEvent<_i2.Object>),
  )? on,
  void Function(
    _i2.String,
    void Function(_i3.ParameterInputEvent<_i2.Object>),
  )? once,
  void Function(
    _i2.String,
    void Function(_i3.ParameterInputEvent<_i2.Object>),
  )? off,
}) =>
    ParametersAPI._(
      on: on == null ? null : _i5.allowInterop(on),
      once: once == null ? null : _i5.allowInterop(once),
      off: off == null ? null : _i5.allowInterop(off),
    );