changes method

Future<List<DVCapturedChange>> changes({
  1. int after = 0,
  2. int? limit,
})

Published record changes after after, oldest first. Schema changes are not included; changes an erasure purged are.

Implementation

Future<List<DVCapturedChange>> changes({int after = 0, int? limit}) async {
  final _State state = await _state();
  final List<Map<String, Object?>> rows = await _published(
    after: after,
    through: state.published,
    limit: limit,
    recordsOnly: true,
  );
  return rows.map(_changeFromRow).toList(growable: false);
}