entity A reference to the entity that is a member of the group. Must be consistent with Group.type. If the entity is another group, then the type must be the same.
Reference get entity => throw _privateConstructorUsedError;