mapOrNull<TResult extends Object?> method Null safety

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>(
  1. TResult? $default(
    1. _Shadow value
    )?,
  2. {TResult? box(
    1. BoxShadow value
    )?}
)
@optionalTypeArgs, inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>(
  TResult? Function(_Shadow value)? $default, {
  TResult? Function(BoxShadow value)? box,
}) =>
    throw _privateConstructorUsedError;