lowercase method

String lowercase(
  1. String s,
  2. Locale locale
)

Returns the full lowercase mapping of the given string

See the Rust documentation for lowercase for more information.

Implementation

String lowercase(String s, Locale locale) {
  final temp = _FinalizedArena();
  final write = _Write();
  _icu4x_CaseMapper_lowercase_mv1(_ffi, s._utf8AllocIn(temp.arena), locale._ffi, write._ffi);
  return write.finalize();
}