fieldType property

FieldType fieldType

The field's data type.

The default is FieldType.unknown, and must be set to a valid type.

Implementation

FieldType get fieldType {
  final coreValue = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_FieldDescription_getFieldType(
      _handle,
      errorHandler,
    );
  });
  return FieldType._fromCoreValue(
    coreValue,
  );
}
void fieldType=(FieldType value)

Implementation

set fieldType(FieldType value) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_FieldDescription_setFieldType(
      _handle,
      value.coreValue,
      errorHandler,
    );
  });
}