EventModelOrmExtension extension

on

Methods

copyWith({Object? id = _copyWithSentinel, Object? name = _copyWithSentinel, Object? score = _copyWithSentinel}) EventModel

Available on EventModel, provided by the EventModelOrmExtension extension

toMap({ValueCodecRegistry? registry}) Map<String, Object?>

Available on EventModel, provided by the EventModelOrmExtension extension

Converts this model to a column/value map.
toTracked() $EventModel

Available on EventModel, provided by the EventModelOrmExtension extension

Converts this immutable model to a tracked ORM-managed model. The tracked model supports attribute tracking, change detection, and persistence operations like save() and touch().

Static Properties

trackedType Type

Available on EventModel, provided by the EventModelOrmExtension extension

The Type of the generated ORM-managed model class. Use this when you need to specify the tracked model type explicitly, for example in generic type parameters.
no setter

Static Methods

fromMap(Map<String, Object?> data, {ValueCodecRegistry? registry}) EventModel

Available on EventModel, provided by the EventModelOrmExtension extension

Builds a model from a column/value map.