when<TResult extends Object?> method
- @optionalTypeArgs
- required TResult knownValue(
- KnownInfoName data
- required TResult unknownValue(
- String data
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function(KnownInfoName data) knownValue,
required TResult Function(String data) unknownValue,
}) =>
throw _privateConstructorUsedError;