normalizeUnicodeNfc method

  1. @useResult
String normalizeUnicodeNfc()

Normalizes to NFC (canonical composition) for comparison and storage.

This package does not depend on intl; this method returns the string unchanged. For full NFC/NFD normalization, use package:intl or package:unorm_dart in your app.

Example:

'café'.normalizeUnicodeNfc();  // returns 'café' (no-op without intl)

Implementation

@useResult
String normalizeUnicodeNfc() => this;