• Oleh Prypin's avatar
    Prepare for making `intl` `toBeginningOfSentenceCase` non-nullable (#127488) · 71228e02
    Oleh Prypin authored
    I intend to edit `toBeginningOfSentenceCase`'s return value to be non-nullable because it really is never null. That will mean that non-null asserts around it will become flagged as unnecessary, although right now they are necessary. So, apply a workaround - instead use a function that does a non-null assert without triggering any lints even after it becomes unnecessary.
    71228e02
utils.dart 16.5 KB