storeLanguage static method

dynamic storeLanguage({
  1. String? key,
  2. Map<String, dynamic>? object,
})

Store the language in the storage

Implementation

static storeLanguage({String? key, Map<String, dynamic>? object}) {
  key ??= state;
  return NyStorage.saveJson(key, object);
}