PathHandler.fromPlatform constructor

PathHandler.fromPlatform({
  1. required PlatformPathHandler platform,
})

Constructs a PathHandler from a specific platform implementation.

Implementation

PathHandler.fromPlatform({required this.platform}) {
  this.platform.eventHandler = this;
}