format static method

Expression<String> format(
  1. List<FormatSection> sections
)

A formatted string of mixed fonts and images, for a text field (spec: format).

Implementation

static Expression<String> format(List<FormatSection> sections) =>
    Call(['format', for (final section in sections) ...section._toJson()]);