copyWith method
copyWith is the method to copy the class.
Implementation
Memory copyWith({
MemoryTypeInfo? ram,
MemoryTypeInfo? internal,
MemoryTypeInfo? external,
}) {
return Memory(
ram: ram ?? this.ram,
internal: internal ?? this.internal,
external: external ?? this.external,
);
}