KeychainResult.storageSuccess constructor

KeychainResult.storageSuccess({
  1. required String storedDataKey,
})

Factory constructor for a successful storage operation.

Implementation

factory KeychainResult.storageSuccess({required String storedDataKey}) {
  return KeychainResult(
    success: true,
    storedDataKey: storedDataKey,
  );
}