realm-dart
realm-dart copied to clipboard
Allow to extends from customClass
abstract class RealmDBModel extends RealmObject {
@RealmProperty(primaryKey: true)
int id;
}
class _Item {
@RealmProperty()
String name;
@RealmProperty(defaultValue: '42')
int price;
}
Need a way allow dart generate will extends RealmDBModel instead of RealmObject
Hi, thanks for the suggestion. We will consider it for the next versions of the SDK.