SecretStorage constructor

SecretStorage({
  1. Event<SecretStorageChangeEvent>? onDidChange,
  2. Future get(
    1. String
    )?,
  3. Future store(
    1. String,
    2. String
    )?,
  4. Future delete(
    1. String
    )?,
})

Implementation

factory SecretStorage({
  _i3.Event<_i3.SecretStorageChangeEvent>? onDidChange,
  _i2.Future<_i2.dynamic> Function(_i2.String)? get,
  _i2.Future<_i2.dynamic> Function(
    _i2.String,
    _i2.String,
  )? store,
  _i2.Future<_i2.dynamic> Function(_i2.String)? delete,
}) =>
    SecretStorage._(
      onDidChange: onDidChange ?? _i6.undefined,
      get: get == null ? null : _i5.allowInterop(get),
      store: store == null ? null : _i5.allowInterop(store),
      delete: delete == null ? null : _i5.allowInterop(delete),
    );