languageDetailDataQuery method
Future<LanguageCodeDataDetail?>
languageDetailDataQuery({
- required Future<
bool> onData(- LanguageCodeDataDetail languageDetailData
Implementation
Future<LanguageCodeDataDetail?> languageDetailDataQuery({
required Future<bool> Function(LanguageCodeDataDetail languageDetailData)
onData,
}) async {
for (var element in entries) {
final LanguageCodeDataDetail value = element.value;
final bool is_return_data = await onData(value);
if (is_return_data) {
return value;
}
}
return null;
}