displayName method

String displayName(
  1. ReportLocalizations l10n
)

Name chosen by the shop, or a description built from the measures.

Implementation

String displayName(ReportLocalizations l10n) =>
    name.trim().isNotEmpty ? name : describe(l10n);