mapOrNull<TResult extends Object?> method

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

Implementation

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