StorageChange constructor

StorageChange({
  1. Object? oldValue,
  2. Object? newValue,
})

Implementation

StorageChange({
  /// The old value of the item, if there was an old value.
  Object? oldValue,

  /// The new value of the item, if there is a new value.
  Object? newValue,
}) : _wrapped = $js.StorageChange(
        oldValue: oldValue?.jsify(),
        newValue: newValue?.jsify(),
      );