apply method
Implementation
@override
Future<void> apply(
RequestOptions options,
AuthStrategyContext context,
) async {
final value = apiKey.trim();
if (value.isNotEmpty) {
options.headers.putIfAbsent(headerName, () => value);
}
}
@override
Future<void> apply(
RequestOptions options,
AuthStrategyContext context,
) async {
final value = apiKey.trim();
if (value.isNotEmpty) {
options.headers.putIfAbsent(headerName, () => value);
}
}