whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  1. TResult? getKeys(
    1. String projectName,
    2. String boxName
    )?,
  2. TResult? getBoxList(
    1. String projectName
    )?,
  3. TResult? getValue(
    1. String projectName,
    2. String key,
    3. String boxName
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
  TResult? Function(String projectName, String boxName)? getKeys,
  TResult? Function(String projectName)? getBoxList,
  TResult? Function(String projectName, String key, String boxName)? getValue,
}) =>
    throw _privateConstructorUsedError;