toLowerCase method

String toLowerCase(
  1. String input
)

Lowercases 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('en', 'US'));
  print(caseMapping.toLowerCase('İ')); // Prints 'i̇'
}

Implementation

String toLowerCase(String input) {
  if (isInTest) {
    return input;
  } else {
    return _caseMappingImpl.toLowerCase(input);
  }
}