RegisterServiceExtensionCallback typedef Null safety
Signature for a method that registers the service extension callback
with
the given name
.
Used as argument to WidgetInspectorService.initServiceExtensions. The BindingBase.registerServiceExtension implements this signature.
Implementation
typedef RegisterServiceExtensionCallback = void Function({
required String name,
required ServiceExtensionCallback callback,
});