canonicalizeIana method

String? canonicalizeIana(
  1. String value
)

See the Rust documentation for canonicalize_iana for more information.

Implementation

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