W3cubDocs

/Dart 2

toLowerCase method

String toLowerCase ()

Converts all characters in this string to lower case. If the string is already in all lower case, this method returns this.

'ALPHABET'.toLowerCase(); // 'alphabet'
'abc'.toLowerCase();      // 'abc'

This function uses the language independent Unicode mapping and thus only works in some languages.

Implementation

// TODO(floitsch): document better. (See EcmaScript for description).
String toLowerCase();

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dart.dev/stable/2.5.0/dart-core/String/toLowerCase.html