log property

List<Map<String, String>> get log

The changes (entries with level: change) and messages, in the order they happened.

Implementation

List<Map<String, String>> get log => [
  for (final Map<String, String> entry in _log)
    if (entry['level'] != 'change' || (entry['change'] ?? '').isNotEmpty)
      entry,
];