subtitleFor method

String? subtitleFor(
  1. HatangLocale locale
)

The subtitle for locale, or null. Like the web widget, a language without its own subtitle shows none.

Implementation

String? subtitleFor(HatangLocale locale) {
  final v = subtitle[locale.code]?.trim();
  return v == null || v.isEmpty ? null : v;
}