applyFormatting function
A function that applies formatting options to a string.
Implementation
String Function(String) applyFormatting(FormattingOptions options) =>
(s) => options.uppercaseKeywords ? s.toUpperCase() : s;
A function that applies formatting options to a string.
String Function(String) applyFormatting(FormattingOptions options) =>
(s) => options.uppercaseKeywords ? s.toUpperCase() : s;