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