maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  1. TResult put(
    1. String path,
    2. dynamic data
    )?,
  2. TResult patch(
    1. String path,
    2. dynamic data
    )?,
  3. TResult authRevoked()?,
  4. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  TResult Function(String path, dynamic data)? put,
  TResult Function(String path, dynamic data)? patch,
  TResult Function()? authRevoked,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;