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