dateTimeLang static method

DateTimeLangModel dateTimeLang([
  1. String? langCode
])

Implementation

static DateTimeLangModel dateTimeLang([String? langCode]) =>
    _availableLang.firstWhere(
      (element) => element.code == (langCode ?? _defaultLang),
      orElse: () => _availableLang[1],
    );