Creates an instance of this type.
defaultValue is sent as-is to the database, therefore, if the default value is the integer value 2,
pass the string "2". If the default value is a string, it must also be wrapped in single quotes: "'defaultValue'".
Source
const ManagedColumnAttributes(
{bool primaryKey: false,
ManagedPropertyType databaseType,
bool nullable: false,
String defaultValue,
bool unique: false,
bool indexed: false,
bool omitByDefault: false,
bool autoincrement: false})
: this.isPrimaryKey = primaryKey,
this.databaseType = databaseType,
this.isNullable = nullable,
this.defaultValue = defaultValue,
this.isUnique = unique,
this.isIndexed = indexed,
this.shouldOmitByDefault = omitByDefault,
this.autoincrement = autoincrement;