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