entity property

Type? entity
final

The target entity of the upsert method.

When declared, parameters of a different type are interpreted as partial entities of it. A partial entity has to contain all non-nullable columns of the target entity and its primary key columns, unless the primary key is auto generated.

Implementation

final Type? entity;