init abstract method

Future<void> init({
  1. required dynamic onUserDeleted(),
  2. required dynamic onPasswordUpdated(),
})

Initializes the repository.

Callback onUserDeleted should be called when myUser is deleted. Callback onPasswordUpdated should be called when myUser's password is updated.

Implementation

Future<void> init({
  required Function() onUserDeleted,
  required Function() onPasswordUpdated,
});