when<TResult extends Object?> method

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

Implementation

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