toUpperCase method
Uppercases the given input.
This is done using the locale from the constructor.
import 'package:intl4x/case_mapping.dart';
void main() {
final caseMapping = CaseMapping(locale: Locale('tr'));
print(caseMapping.toUpperCase('i')); // Prints 'İ'
}
Implementation
String toUpperCase(String input) {
if (isInTest) {
return input;
} else {
return _caseMappingImpl.toUpperCase(input);
}
}