WorkspaceConfiguration constructor

WorkspaceConfiguration({
  1. bool has(
    1. String
    )?,
  2. dynamic inspect<T>(
    1. String
    )?,
  3. Future update(
    1. String, [
    2. dynamic,
    3. dynamic,
    4. bool?,
    ])?,
})

Implementation

factory WorkspaceConfiguration({
  _i2.bool Function(_i2.String)? has,
  _i2.dynamic Function<T>(_i2.String)? inspect,
  _i2.Future<_i2.dynamic> Function(
    _i2.String, [
    _i2.dynamic,
    _i2.dynamic,
    _i2.bool?,
  ])? update,
}) =>
    WorkspaceConfiguration._(
      has: has == null ? null : _i5.allowInterop(has),
      inspect: inspect == null
          ? null
          : _i5.allowInterop((p0) => () => inspect(p0) ?? _i6.undefined),
      update: update == null ? null : _i5.allowInterop(update),
    );