defaultValue property

dynamic defaultValue
final

Default value for this field

If the value provide is a scalar type then it value will be use directly as default value to the database schema. However if the value is not a scalar type then the schema will set to NOT NULL if field is not null however it value will set when create dart object. Aside from a few known value such as DateTime, Uri which will be handle by generator automatically the other custom object value must implement SQLDefaultValueValue.

Implementation

final dynamic defaultValue;