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