LanguageCode constructor

LanguageCode({
  1. LanguageCodeType? languageCodeType,
  2. String? name,
})

Implementation

factory LanguageCode({
  LanguageCodeType? languageCodeType,
  $core.String? name,
}) {
  final _result = create();
  if (languageCodeType != null) {
    _result.languageCodeType = languageCodeType;
  }
  if (name != null) {
    _result.name = name;
  }
  return _result;
}