map<TResult extends Object?> method

  1. @optionalTypeArgs
TResult map<TResult extends Object?>({
  1. required TResult portrait(
    1. PortraitM value
    ),
  2. required TResult landscape(
    1. _LandscapeM value
    ),
})
inherited

Implementation

@optionalTypeArgs
TResult map<TResult extends Object?>({
  required TResult Function(PortraitM value) portrait,
  required TResult Function(_LandscapeM value) landscape,
}) =>
    throw _privateConstructorUsedError;