maybeWhen<T> method
T
maybeWhen<T>({
- T? mMegolmBackupV1Curve25519AesSha2()?,
- required T orElse(),
Implementation
T maybeWhen<T>({
T? Function()? mMegolmBackupV1Curve25519AesSha2,
required T Function() orElse,
}) =>
{
BackupAlgorithm.mMegolmBackupV1Curve25519AesSha2:
mMegolmBackupV1Curve25519AesSha2,
}[this]
?.call() ??
orElse();