create static method

UsagePrinter create({
  1. TerminalAttributesFactory attributesFactory = defaultTerminalAttributesFactory,
  2. TextWrapper wrapper = defaultTextWrapper,
})

Implementation

static UsagePrinter create(
        {TerminalAttributesFactory attributesFactory =
            defaultTerminalAttributesFactory,
        TextWrapper wrapper = defaultTextWrapper}) =>
    DefaultUsagePrinter(
        attributesFactory: attributesFactory, wrapper: wrapper);