mapOrNull<TResult extends Object?> method Null safety

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>(
  1. {TResult? box(
    1. BoxDecoration value
    )?,
  2. TResult? shape(
    1. ShapeDecoration value
    )?}
)
@optionalTypeArgs, inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  TResult? Function(BoxDecoration value)? box,
  TResult? Function(ShapeDecoration value)? shape,
}) =>
    throw _privateConstructorUsedError;