when<TResult extends Object?> method
- @optionalTypeArgs
- required TResult profileViewBasic(
- ProfileViewBasic data
- required TResult profileView(
- ProfileView data
- required TResult profileViewDetailed(
- ProfileViewDetailed data
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function(ProfileViewBasic data) profileViewBasic,
required TResult Function(ProfileView data) profileView,
required TResult Function(ProfileViewDetailed data) profileViewDetailed,
}) =>
throw _privateConstructorUsedError;