HashChangeEventInit constructor

HashChangeEventInit({
  1. String? oldURL,
  2. String? newURL,
})

Implementation

factory HashChangeEventInit({String? oldURL, String? newURL}) =>
    HashChangeEventInit._(oldURL: oldURL ?? '', newURL: newURL ?? '');