copyWith method
Returns a new instance by overriding the values passed as arguments
Implementation
RefType copyWith({
bool? nullable,
HeapType? heapType,
}) =>
RefType(
nullable: nullable ?? this.nullable,
heapType: heapType ?? this.heapType);