OfflineCacheManagerPathSetterListener constructor

OfflineCacheManagerPathSetterListener({
  1. required void onPathSet(),
  2. required void onPathSetError(
    1. Error error
    ),
})

Implementation

factory OfflineCacheManagerPathSetterListener(
    {required void Function() onPathSet,
    required void Function(runtime_error.Error error) onPathSetError}) {
  return OfflineCacheManagerPathSetterListenerImpl(
    onPathSet: onPathSet,
    onPathSetError: onPathSetError,
  );
}