OfflineSearchIndexListener constructor

OfflineSearchIndexListener(
  1. void onStartedLambda(
    1. OfflineSearchIndexOperation
    ),
  2. void onProgressLambda(
    1. int
    ),
  3. void onCompleteLambda(
    1. OfflineSearchIndexError?
    )
)

Abstract class to get updates about progress of creating persistent map index.

Note: This is a beta release of this feature, so there could be a few bugs and unexpected behaviors. Related APIs may change for new releases without a deprecation process.

Implementation

factory OfflineSearchIndexListener(
  void Function(OfflineSearchIndexOperation) onStartedLambda,
  void Function(int) onProgressLambda,
  void Function(OfflineSearchIndexError?) onCompleteLambda,

) => OfflineSearchIndexListener$Lambdas(
  onStartedLambda,
  onProgressLambda,
  onCompleteLambda,

);