languageDetailDataQuerySync method

LanguageCodeDataDetail? languageDetailDataQuerySync({
  1. required bool onData(
    1. LanguageCodeDataDetail languageDetailData
    ),
})

Implementation

LanguageCodeDataDetail? languageDetailDataQuerySync({
  required bool Function(LanguageCodeDataDetail languageDetailData) onData,
}) {
  for (var element in entries) {
    final LanguageCodeDataDetail value = element.value;

    final bool is_return_data = onData(value);
    if (is_return_data) {
      return value;
    }
  }

  return null;
}