maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  1. TResult netWork(
    1. String url,
    2. FileXType? fileXType
    )?,
  2. TResult file(
    1. File file,
    2. FileXType? fileXType
    )?,
  3. TResult path(
    1. String path,
    2. FileXType? fileXType
    )?,
  4. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  TResult Function(String url, FileXType? fileXType)? netWork,
  TResult Function(File file, FileXType? fileXType)? file,
  TResult Function(String path, FileXType? fileXType)? path,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;