whenOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? whenOrNull<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
    )?,
})
inherited

Implementation

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