ListItemModel constructor

const ListItemModel({
  1. String? language,
  2. String? name,
})

Implementation

const factory ListItemModel({
  /// Supported language code, generally consisting of its ISO 639-1
  /// identifier. (E.g. 'en', 'ja'). In certain cases, BCP-47 codes including
  /// language + region identifiers are returned (e.g. 'zh-TW' and 'zh-CH')
  String? language,

  /// Human readable name of the language localized to the target language.
  String? name,
}) = _ListItemModel;