languageDetailDataQueryForce method

Future<LanguageCodeDataDetail> languageDetailDataQueryForce({
  1. required Future<bool> onData(
    1. LanguageCodeDataDetail languageDetailData
    ),
  2. required LanguageCodeDataDetail defaultLanguageCodeDataDetail,
})

Implementation

Future<LanguageCodeDataDetail> languageDetailDataQueryForce({
  required Future<bool> Function(LanguageCodeDataDetail languageDetailData)
      onData,
  required LanguageCodeDataDetail defaultLanguageCodeDataDetail,
}) async {
  return (await languageDetailDataQuery(onData: onData)) ??
      defaultLanguageCodeDataDetail;
}