documentLanguage property
Document-level language (BCP-47 code). Defaults to the language selected in DocumentLanguageController or the system locale.
Implementation
String documentLanguage = DocumentLanguageController.instance.current.code;
Document-level language (BCP-47 code). Defaults to the language selected in DocumentLanguageController or the system locale.
String documentLanguage = DocumentLanguageController.instance.current.code;