mapOrNull<TResult extends Object?> method Null safety

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>(
  1. {TResult? intrinsic(
    1. IntrinsicColumnWidth value
    )?,
  2. TResult? fixed(
    1. FixedColumnWidth value
    )?,
  3. TResult? fraction(
    1. FractionColumnWidth value
    )?,
  4. TResult? flex(
    1. FlexColumnWidth value
    )?,
  5. TResult? max(
    1. MaxColumnWidth value
    )?,
  6. TResult? min(
    1. MinColumnWidth value
    )?}
)
@optionalTypeArgs, inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  TResult? Function(IntrinsicColumnWidth value)? intrinsic,
  TResult? Function(FixedColumnWidth value)? fixed,
  TResult? Function(FractionColumnWidth value)? fraction,
  TResult? Function(FlexColumnWidth value)? flex,
  TResult? Function(MaxColumnWidth value)? max,
  TResult? Function(MinColumnWidth value)? min,
}) =>
    throw _privateConstructorUsedError;