getFieldName method
- int index
Gets the field name/short description. Depends on the language set. Usually used for display in UI
Parameters
- IN index Field index
Returns
- The field name for the given index, or null if no field corresponds to the given index
Throws
- An exception if it fails.
Implementation
String? getFieldName(final int index) {
final OperationResult result = objectMethod(
_pointerId,
'ContactInfo',
'getFieldName',
args: index,
);
final String name = result['result'];
return name.isNotEmpty ? name : null;
}