idGenerator property

dynamic idGenerator
final

A reference to a function use as generator to create new id for a new object.

This is useful when table id is not an integer type there system auto increment can be done therefore when create a new object an id will be pre-generated.

@Column(type: SQLiteDataType.text)
String get id;

Implementation

final dynamic idGenerator;