map<TResult extends Object?> method Null safety

  1. @optionalTypeArgs
TResult map<TResult extends Object?>(
  1. {required TResult all(
    1. BorderRadiusAll value
    ),
  2. required TResult circular(
    1. BorderRadiusCircular value
    ),
  3. required TResult vertical(
    1. BorderRadiusVertical value
    ),
  4. required TResult horizontal(
    1. BorderRadiusHorizontal value
    ),
  5. required TResult only(
    1. BorderRadiusOnly value
    )}
)
@optionalTypeArgs, inherited

Implementation

@optionalTypeArgs
TResult map<TResult extends Object?>({
  required TResult Function(BorderRadiusAll value) all,
  required TResult Function(BorderRadiusCircular value) circular,
  required TResult Function(BorderRadiusVertical value) vertical,
  required TResult Function(BorderRadiusHorizontal value) horizontal,
  required TResult Function(BorderRadiusOnly value) only,
}) =>
    throw _privateConstructorUsedError;