copyWith method
ResolvedType
copyWith({
- String? import,
- String? name,
- List<
ResolvedType> ? typeArguments, - bool? isNullable,
Implementation
ResolvedType copyWith({
String? import,
String? name,
List<ResolvedType>? typeArguments,
bool? isNullable,
}) {
return ResolvedType(
import: import ?? this.import,
name: name ?? this.name,
isNullable: isNullable ?? this.isNullable,
typeArguments: typeArguments ?? this.typeArguments,
);
}