when<TResult extends Object?> method
- @optionalTypeArgs
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function(String? message) api,
required TResult Function(String? message) unknown,
}) =>
throw _privateConstructorUsedError;