fieldType property

FieldType fieldType

The field type of the domain to be created.

Valid field types are FieldType.int16, FieldType.int32, FieldType.float32, FieldType.float64, and FieldType.date. For a CodedValueDomainDescription, FieldType.text is also valid.

Implementation

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

Implementation

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