RealmModel.using constructor
const
RealmModel.using({
- ObjectType baseType = ObjectType.realmObject,
- GeneratorConfig generatorConfig = const GeneratorConfig(),
Creates a new instance of RealmModel optionally specifying the baseType
and generatorConfig
.
Implementation
const RealmModel.using({
this.baseType = ObjectType.realmObject,
this.generatorConfig = const GeneratorConfig(),
});