NavigationEvent constructor

NavigationEvent(
  1. String type, [
  2. NavigationEventInit? eventInitDict
])

Implementation

factory NavigationEvent(String type, [NavigationEventInit? eventInitDict]) =>
    NavigationEvent._(type, eventInitDict ?? undefined);