OrmMigrationRecordPartial.fromRow constructor
Creates a partial from a database row map.
The row keys should be column names (snake_case).
Missing columns will result in null field values.
Implementation
factory OrmMigrationRecordPartial.fromRow(Map<String, Object?> row) {
return OrmMigrationRecordPartial(
id: row['id'] as String?,
checksum: row['checksum'] as String?,
appliedAt: row['applied_at'] as DateTime?,
batch: row['batch'] as int?,
);
}