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