mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  1. TResult? cm(
    1. Centimeter value
    )?,
  2. TResult? inch(
    1. Inch value
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  TResult? Function(Centimeter value)? cm,
  TResult? Function(Inch value)? inch,
}) =>
    throw _privateConstructorUsedError;