format method
Return the formatted Interface.
type
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? type]) =>
type != null ? impl.format(type.impl) : impl.format();