RecordDocument class final

System fields plus the model’s declared fields as raw wire JSON.

Constructors

RecordDocument({required String id, String? createdAt, String? updatedAt, int? version, Map<String, Object?> additional = const {}})
const
RecordDocument.fromJson(Map<String, Object?> json)
factory

Properties

additional → Map<String, Object?>
Wire members beyond the declared properties, passed through verbatim.
final
createdAt → String?
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
Record ID, {model_snake}_{ulid}; server-assigned on create.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
updatedAt → String?
final
version → int?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited