convertLanguageIso static method
- String code,
- ISOCodeType type
Convert language iso code ( ISO2 <-> ISO3 )
Parameters
- IN code The language ISO code to be converted
- IN type The result language ISO code type
Returns
- The converted language ISO code.
Implementation
static String convertLanguageIso(String code, ISOCodeType type) {
final OperationResult resultString = staticMethod(
'ISOCodeConversions',
'convertLanguageIso',
args: <String, dynamic>{
'code': code,
'type': type.id,
},
);
final String result = resultString['result'];
return result;
}