webGlContextRestoredEvent constant Null safety

EventStreamProvider<ContextEvent> const webGlContextRestoredEvent

Static factory designed to expose webglcontextrestored events to event handlers that are not necessarily instances of CanvasElement.

See EventStreamProvider for usage information.

Implementation

static const EventStreamProvider webGlContextRestoredEvent =
    const EventStreamProvider('webglcontextrestored')