fieldType property

FieldType fieldType

The field type of the domain to be created.

Specifies the field type of the domain. Valid field types are FieldType.int16, FieldType.int32, FieldType.float32, FieldType.float64, and FieldType.date. Additionally, for CodedValueDomainDescription, FieldType.text is 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);
  });
}