CrudEntry.fromRow constructor

CrudEntry.fromRow(
  1. Row row
)

Implementation

factory CrudEntry.fromRow(sqlite.Row row) {
  final data = jsonDecode(row['data']);
  return CrudEntry(row['id'], UpdateType.fromJsonChecked(data['op'])!,
      data['type'], data['id'], row['tx_id'], data['data']);
}