RealmModel constructor

const RealmModel([
  1. ObjectType type = ObjectType.realmObject
])

Creates a new instance of RealmModel specifying the desired base type.

Implementation

const RealmModel([this.type = ObjectType.realmObject]);