find method

  1. @override
EmojiDataItem? find(
  1. int target
)

Finds a range covering target, or null if no property covers it.

Searches property by property in file order and returns the first covering range. Use findProp when a specific property is meant.

Implementation

@override
EmojiDataItem? find(int target) {
  for (final items in _properties.values) {
    final item = findIn(items, target);
    if (item != null) return item;
  }
  return null;
}