getLanguageCodeByIndex static method
- int index
Returns language codes for the country with the given index.
Parameters
index: (int) Country index.
Returns
- (
List<String>) A list of language ISO codes.
Implementation
static List<String> getLanguageCodeByIndex(final int index) {
final OperationResult resultString = staticMethod(
'MapDetails',
'getLanguageCodesByIndex',
args: index,
);
return (resultString['result'] as List<dynamic>).cast<String>();
}