delete method
- LoginProfile profile
Removes a profile and its persisted credentials.
Prefer this over deleteById — passing a LoginProfile you got from list catches stale IDs at the type level.
Implementation
Future<void> delete(LoginProfile profile) => deleteById(profile.id);