when<T> method

T when<T>({
  1. required T mMegolmBackupV1Curve25519AesSha2(),
})

Implementation

T when<T>({
  required T Function() mMegolmBackupV1Curve25519AesSha2,
}) =>
    {
      BackupAlgorithm.mMegolmBackupV1Curve25519AesSha2:
          mMegolmBackupV1Curve25519AesSha2,
    }[this]!();