parse method
- String unitId
See the Rust documentation for parse
for more information.
Implementation
MeasureUnit? parse(String unitId) {
final temp = _FinalizedArena();
final result = _icu4x_MeasureUnitParser_parse_mv1(_ffi, unitId._utf8AllocIn(temp.arena));
return result.address == 0 ? null : MeasureUnit._fromFfi(result, []);
}