MFieldBit constructor
MFieldBit({})
Creates a BIT field.
length
specifies the number of bits (default: 8, range: 1-64)
Implementation
MFieldBit({
required super.name,
super.isPrimaryKey = false,
super.isAutoIncrement = false,
super.isNullable = false,
super.defaultValue = '',
super.comment,
super.validators = const [],
int length = 8,
}) : super(type: FieldTypes.BIT) {
_options = '($length)';
}