Creates a String representation of the Fragment using the available type formats.
type
String format([FormatTypes? type]) => type != null ? impl.format(type.impl) : impl.format();