Entity constructor

const Entity({
  1. int? uid,
  2. Type? realClass,
})

Marks a class as an ObjectBox Entity. Allows to obtain a Box for this Entity from Store to persist instances (objects) of this class.

Implementation

const Entity({this.uid, this.realClass});