fGsBmRWqpRjpKjsR method
Future<Database?>
fGsBmRWqpRjpKjsR(
- _YIMTableName FMSyMNhBTxSgdeje
)
Implementation
Future<Database?> fGsBmRWqpRjpKjsR(_YIMTableName FMSyMNhBTxSgdeje) async {
if (LLTqoNwdULMbTCMh.yWiKPzRWuKnMOmDg == null) {
LLTqoNwdULMbTCMh.DwbTkDIljwhCkWxz.DEFxUCYdTScOImyX("DB: Please init First!");
return null;
}
if (!UFWAGwHDnWMkeYVR.EPwtIwAAPGFWUsid.WPtNMuRLJwMSwfMW()) {
LLTqoNwdULMbTCMh.DwbTkDIljwhCkWxz.DEFxUCYdTScOImyX("DB: Please login first!");
return null;
}
final qrSktAaCKwMSfirf = FMSyMNhBTxSgdeje.name;
if (!uPiBcMElcQZtdkwa.containsKey(qrSktAaCKwMSfirf)) {
final oZWsbjoZNWhuHydp = "/yim/${LLTqoNwdULMbTCMh.yWiKPzRWuKnMOmDg!.appKey}/${LLTqoNwdULMbTCMh.IemXKsVNcGUWeUgJ}/${qrSktAaCKwMSfirf}.db";
uPiBcMElcQZtdkwa[qrSktAaCKwMSfirf] = kIsWeb ? await databaseFactoryWeb.openDatabase(oZWsbjoZNWhuHydp) : await databaseFactoryIo.openDatabase("${(await getApplicationDocumentsDirectory()).path}${oZWsbjoZNWhuHydp}");
}
return uPiBcMElcQZtdkwa[qrSktAaCKwMSfirf]!;
}