OsmChange.create constructor
OsmChange.create({})
Implementation
OsmChange.create({
required Map<String, String> tags,
required LatLng location,
DateTime? updated,
String? databaseId,
this.error,
this.newId,
}) : newTags = Map<String, String?>.of(tags),
newLocation = location,
element = null,
_deleted = false,
updated = updated ?? DateTime.now(),
databaseId = databaseId ?? '';