mirror of
https://github.com/foss42/apidash.git
synced 2025-05-29 04:50:36 +08:00
10 lines
225 B
Dart
10 lines
225 B
Dart
import '../consts.dart';
|
|
|
|
List<String> getHeaderSuggestions(String pattern) {
|
|
return kHttpHeadersMap.keys
|
|
.where(
|
|
(element) => element.toLowerCase().contains(pattern.toLowerCase()),
|
|
)
|
|
.toList();
|
|
}
|