RealmModel constructor

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

Creates a new instance of RealmModel optionally specifying the baseType.

Implementation

const RealmModel([
  ObjectType baseType = ObjectType.realmObject,
]) : this.using(baseType: baseType);