copyWith method

MapFloorRecord copyWith({
  1. String? layerName,
  2. String? building,
  3. String? code,
  4. Value<DateTime?> fetchedAt = const Value.absent(),
})

Implementation

MapFloorRecord copyWith({
  String? layerName,
  String? building,
  String? code,
  Value<DateTime?> fetchedAt = const Value.absent(),
}) => MapFloorRecord(
  layerName: layerName ?? this.layerName,
  building: building ?? this.building,
  code: code ?? this.code,
  fetchedAt: fetchedAt.present ? fetchedAt.value : this.fetchedAt,
);