prompt property

String? Function([String?, String?]) get prompt

Implementation

_i2.String? Function([
  _i2.String?,
  _i2.String?,
]) get prompt => ([
      _i2.String? p0,
      _i2.String? p1,
    ]) =>
        _i4.callMethod(
          _i4.getProperty(
            this,
            'prompt',
          ),
          r'call',
          [
            this,
            p0 ?? _i6.undefined,
            p1 ?? _i6.undefined,
          ],
        );
set prompt (String? value([String?, String?]))

Implementation

set prompt(
    _i2.String? Function([
      _i2.String?,
      _i2.String?,
    ]) value) {
  _i4.setProperty(
    this,
    'prompt',
    _i4.allowInterop((
      p0,
      p1,
    ) =>
        () =>
            value(
              p0,
              p1,
            ) ??
            _i6.undefined),
  );
}