clearLanguage static method

dynamic clearLanguage({
  1. String? key,
})

Clear the language from the storage

Implementation

static clearLanguage({String? key}) {
  if (key == null) {
    key = state;
  }
  return NyStorage.delete(key);
}