Snapshot constructor
Snapshot([
- String? id
Implementation
Snapshot([String? id]) {
version = 0;
this.id = id ?? const Uuid().v4();
createdOn = DateTime.now().toUtc();
}
Snapshot([String? id]) {
version = 0;
this.id = id ?? const Uuid().v4();
createdOn = DateTime.now().toUtc();
}