PropertyValueNameToEnumMapper.generalCategory constructor

PropertyValueNameToEnumMapper.generalCategory()

Create a name-to-enum mapper for the General_Category property, using compiled data.

See the Rust documentation for GeneralCategory for more information.

Implementation

factory PropertyValueNameToEnumMapper.generalCategory() {
  final result = _icu4x_PropertyValueNameToEnumMapper_create_general_category_mv1();
  return PropertyValueNameToEnumMapper._fromFfi(result, []);
}