getDefaultDisplayFormat method

String getDefaultDisplayFormat()

Implementation

String getDefaultDisplayFormat() {
  var result = '';
  final f = _field;
  if (f != null) {
    if (f is TNumericField) {
      result = f.displayFormat;
    } else if (f is TDateTimeField) {
      result = f.displayFormat;
    }
  }
  return result;
}