QueryParametersPatterns extension
Adds pattern-matching-related methods to QueryParameters.
Methods
-
map<
TResult extends Object?> (TResult $default(_QueryParameters value)) → TResult -
Available on QueryParameters, provided by the QueryParametersPatterns extension
Aswitch-like method, using callbacks. -
mapOrNull<
TResult extends Object?> (TResult? $default(_QueryParameters value)?) → TResult? -
Available on QueryParameters, provided by the QueryParametersPatterns extension
A variant ofmapthat fallback to returningnull. -
maybeMap<
TResult extends Object?> (TResult $default(_QueryParameters value)?, {required TResult orElse()}) → TResult -
Available on QueryParameters, provided by the QueryParametersPatterns extension
A variant ofmapthat fallback to returningorElse. -
maybeWhen<
TResult extends Object?> (TResult $default(String? accessToken, String? configId, int? configVersion, int? eventLimit, String? resumedChatGroupId, bool? verboseTranscription, String? apiKey, int? audioChannels, String? audioEncoding, int? audioSampleRate, String? contextText, String? contextType, String? customSessionId, int? sessionEventLimit, String? languageModelApiKey, String? voiceId)?, {required TResult orElse()}) → TResult -
Available on QueryParameters, provided by the QueryParametersPatterns extension
A variant ofwhenthat fallback to anorElsecallback. -
when<
TResult extends Object?> (TResult $default(String? accessToken, String? configId, int? configVersion, int? eventLimit, String? resumedChatGroupId, bool? verboseTranscription, String? apiKey, int? audioChannels, String? audioEncoding, int? audioSampleRate, String? contextText, String? contextType, String? customSessionId, int? sessionEventLimit, String? languageModelApiKey, String? voiceId)) → TResult -
Available on QueryParameters, provided by the QueryParametersPatterns extension
Aswitch-like method, using callbacks. -
whenOrNull<
TResult extends Object?> (TResult? $default(String? accessToken, String? configId, int? configVersion, int? eventLimit, String? resumedChatGroupId, bool? verboseTranscription, String? apiKey, int? audioChannels, String? audioEncoding, int? audioSampleRate, String? contextText, String? contextType, String? customSessionId, int? sessionEventLimit, String? languageModelApiKey, String? voiceId)?) → TResult? -
Available on QueryParameters, provided by the QueryParametersPatterns extension
A variant ofwhenthat fallback to returningnull