normalizeIana method

String? normalizeIana(
  1. String value
)

See the Rust documentation for normalize_iana for more information.

Implementation

String? normalizeIana(String value) {
  final temp = _FinalizedArena();
  final write = _Write();
  final result = _icu4x_TimeZoneIdMapper_normalize_iana_mv1(_ffi, value._utf8AllocIn(temp.arena), write._ffi);
  if (!result.isOk) {
    return null;
  }
  return write.finalize();
}