map<TResult extends Object?> method

  1. @optionalTypeArgs
TResult map<TResult extends Object?>({
  1. required TResult file(
    1. XXFile value
    ),
  2. required TResult network(
    1. XXImage value
    ),
})
inherited

Implementation

@optionalTypeArgs
TResult map<TResult extends Object?>({
  required TResult Function(XXFile value) file,
  required TResult Function(XXImage value) network,
}) =>
    throw _privateConstructorUsedError;