localeZero property Null safety

String localeZero

For performance, keep the zero digit available.

Implementation

String get localeZero => _localeZero == null
    ? _localeZero = useNativeDigits ? dateSymbols.ZERODIGIT ?? '0' : '0'
    : _localeZero!;