RepairPersistentMapCallback typedef

RepairPersistentMapCallback = void Function(PersistentMapRepairError? persistentMapRepairError)

A method which is called on the main thread when MapDownloader.repairPersistentMap has been completed.

The first argument indicates an error in case of a failure. The second argument contains the results. Both arguments cannot be null at the same time - or not null at the same time.

  • persistentMapRepairError Represents an error in case of a failure. It is null for an operation that succeeds.

Implementation

typedef RepairPersistentMapCallback = void Function(PersistentMapRepairError? persistentMapRepairError);