applyFormatting function

String Function(String) applyFormatting(
  1. FormattingOptions options
)

A function that applies formatting options to a string.

Implementation

String Function(String) applyFormatting(FormattingOptions options) =>
    (s) => options.uppercaseKeywords ? s.toUpperCase() : s;