mapOrNull<TResult extends Object?> method Null safety

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

Implementation

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