copyWith method
Implementation
Tile copyWith(
{int? id,
String? source,
int? z,
int? x,
int? y,
Uint8List? bytes,
Value<String?> etag = const Value.absent(),
DateTime? updatedAt,
DateTime? lastAccessed}) =>
Tile(
id: id ?? this.id,
source: source ?? this.source,
z: z ?? this.z,
x: x ?? this.x,
y: y ?? this.y,
bytes: bytes ?? this.bytes,
etag: etag.present ? etag.value : this.etag,
updatedAt: updatedAt ?? this.updatedAt,
lastAccessed: lastAccessed ?? this.lastAccessed,
);