copyWith method
Implementation
MapSyncRecord copyWith({
String? namespace,
Value<DateTime?> catalogFetchedAt = const Value.absent(),
Value<DateTime?> indexFetchedAt = const Value.absent(),
}) => MapSyncRecord(
namespace: namespace ?? this.namespace,
catalogFetchedAt: catalogFetchedAt.present
? catalogFetchedAt.value
: this.catalogFetchedAt,
indexFetchedAt: indexFetchedAt.present
? indexFetchedAt.value
: this.indexFetchedAt,
);