maxHlc method

  1. @override
String maxHlc(
  1. String table
)
override

The highest HLC seen in table as a string, or the empty string when the table is empty.

Implementation

@override
String maxHlc(String table) {
  final changeset = _crdt.getChangeset(onlyTables: [table]);
  if (changeset.isEmpty) return '';
  return _crdt.getLastModified().toString();
}