copyWith method
Implementation
ResolvedType copyWith(
{List<TypeHint>? hints, bool? nullable, bool? isArray}) {
return ResolvedType(
type: type,
hints: hints ?? this.hints,
nullable: nullable ?? this.nullable,
isArray: isArray ?? this.isArray,
);
}