getPortForLanguage method
- Language language
Get the port for the current language. This port should ideally not conflict but should remain the same for caching purposes.
Implementation
int getPortForLanguage(Language language) {
/// Language Customizable
if (language is JapaneseLanguage) {
return 52059;
} else if (language is EnglishLanguage) {
return 52060;
}
throw UnimplementedError();
}