lookupByString method

OSString? lookupByString(
  1. String str
)
inherited

lookup an OSString that the given str is satsified the matching condition.

Implementation

OSString? lookupByString(String str) {
  return where((osstr) => osstr <= str).singleOrNull;
}