format method

dynamic format([
  1. FormatTypes? types
])

Return the formatted Interface.

types must be from FormatTypes variable.

If the format type is json a single string is returned, otherwise an Array of the human-readable strings is returned.

Implementation

dynamic format([FormatTypes? types]) =>
    types != null ? impl.format(types.impl) : impl.format();