KoolbaseRecord class

Constructors

KoolbaseRecord({required String id, String? collection, String? createdBy, required Map<String, dynamic> data, required DateTime createdAt, required DateTime updatedAt, int? revision})
const
KoolbaseRecord.fromJson(Map<String, dynamic> json)
factory

Properties

collection → String?
final
createdAt → DateTime
final
createdBy → String?
final
data → Map<String, dynamic>
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
revision → int?
The record's revision, advanced by the server on every write.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
updatedAt → DateTime
final

Methods

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

Operators

operator ==(Object other) → bool
The equality operator.
inherited
operator [](String key) → dynamic
Direct field access: record['email'] == record.data['email'].