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