map<TResult extends Object?> method Null safety

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

Implementation

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