updated method

void updated({
  1. int? at,
})

Implementation

void updated({int? at}) {
  final now = at ?? DateTime.now().toUtc().millisecondsSinceEpoch;
  updatedAt = now;
  onUpdated();
}