RegionsAtPointListener constructor

RegionsAtPointListener({
  1. required void onRegions(
    1. List<int> regions
    ),
  2. required void onError(
    1. Error error
    ),
})

Implementation

factory RegionsAtPointListener(
    {required void Function(core.List<core.int> regions) onRegions,
    required void Function(runtime_error.Error error) onError}) {
  return RegionsAtPointListenerImpl(
    onRegions: onRegions,
    onError: onError,
  );
}