store method
store ID/Password
mediation: default is Mediation.Optional. This is ignored in Web. with Mediation.Required, stored entry will force deleted before asking user. so Mediation.Required is not Recommended option. return: Result enum value throws ArgumentError: id or password is empty
Implementation
Future<Result> store(String id, String password,
{Mediation mediation = Mediation.Optional}) async {
return await storeCredential(
PasswordCredential(id: id, password: password, name: id),
mediation: mediation);
}