when<TResult extends Object?> method
TResult
when<TResult extends Object?>({
- required TResult portrait(),
- required TResult landscape(),
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function() portrait,
required TResult Function() landscape,
}) =>
throw _privateConstructorUsedError;