getUrlTranslation method
Get url translation specified by index.
Parameters
- IN index Index of the url translation
Returns
- Valid PTTranslation object for corresponding index
- Empty PTTranslation if index is out of bounds.
Implementation
PTTranslation? getUrlTranslation(final int index) {
  final OperationResult resultString = objectMethod(
    pointerId,
    'PTAlert',
    'getUrlTranslation',
    args: index,
  );
  if (resultString['result']['isValid'] == false) {
    return null;
  }
  return PTTranslation.fromJson(resultString['result']);
}