map<TResult extends Object?> method

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

Implementation

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