maybeMap<TResult extends Object?> method

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

Implementation

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