onKeyValidation property

void Function(num, bool)? get onKeyValidation

Callback function is executed on every keyvalidation with the key, result as the parameter.

Implementation

void Function(
  _i2.num,
  _i2.bool,
)? get onKeyValidation => (
      _i2.num p0,
      _i2.bool p1,
    ) =>
        _i4.callMethod(
          _i4.getProperty(
            this,
            'onKeyValidation',
          ),
          r'call',
          [
            this,
            p0,
            p1,
          ],
        );
set onKeyValidation (void value(num, bool)?)

Implementation

set onKeyValidation(
    void Function(
      _i2.num,
      _i2.bool,
    )? value) {
  _i4.setProperty(
    this,
    'onKeyValidation',
    value == null ? _i6.undefined : _i4.allowInterop(value),
  );
}