fromIntegerValue static method
- int other
Convert from an integer value from ICU4C or CodePointMapData
See the Rust documentation for from_icu4c_value
for more information.
Implementation
static CanonicalCombiningClass? fromIntegerValue(int other) {
final result = _icu4x_CanonicalCombiningClass_from_integer_value_mv1(other);
if (!result.isOk) {
return null;
}
return CanonicalCombiningClass.values.firstWhere((v) => v._ffi == result.union.ok);
}