getLocalization method

  1. @override
Future<String> getLocalization()
override

Gets the current localization code used by the plugin for notification content.

This method returns a Future that resolves to a String representing the current localization code. The localization code is a two-letter language code (e.g. "en" for English, "pt" for Portuguese) or a language code combined with a region code (e.g. "pt-br" for Brazilian Portuguese). If no localization has been set, this method will return the system's default language code.

Implementation

@override
Future<String> getLocalization() async {
  return '';
}