copyWith method
Implementation
ActiveMemory<ActiveType> copyWith({
DateTime? createdAt,
DateTime? expiresAt,
ActiveType? activeType,
}) {
return ActiveMemory<ActiveType>(
createdAt: createdAt ?? this.createdAt,
expiresAt: expiresAt ?? this.expiresAt,
activeType: activeType ?? this.activeType,
);
}