resolve static method
Implementation
static List<Map<String, dynamic>> resolve(
List<Map<String, dynamic>> keys,
String typed,
) {
var normalized = typed.startsWith(_keyPrefix) ? typed : '$_keyPrefix$typed';
if (normalized.length > 16) normalized = normalized.substring(0, 16);
if (normalized.length <= _keyPrefix.length) return const [];
return keys
.where((key) => (key['prefix'] as String).startsWith(normalized))
.toList();
}