currentLanguage static method

Future<Map<String, dynamic>?> currentLanguage({
  1. String? key,
})

Get the current language

Implementation

static Future<Map<String, dynamic>?> currentLanguage({String? key}) async {
  key ??= state;
  return await NyStorage.readJson(key);
}