pluginNotRegistered function

RuntimeUnavailableException pluginNotRegistered(
  1. String package
)

What a family reports in a browser where package's plugin never registered: its native stubs throw it, and its capability queries give its message and fix as their reason.

Implementation

RuntimeUnavailableException pluginNotRegistered(String package) =>
    RuntimeUnavailableException(
      'The $package browser plugin did not register.',
      fix:
          'Depend on $package as a Flutter plugin so its web registration '
          'runs before the first task is created.',
    );