copyWith method
Creates a new AbiParameter instance with updated values. If a parameter is not specified in the copy, the current value is retained.
Implementation
AbiParameter copyWith({
  String? name,
  String? type,
  String? baseType,
  bool? indexed,
  List<AbiParameter>? components,
  String? internalType,
}) {
  return AbiParameter(
    name: name ?? this.name,
    type: type ?? this.type,
    baseType: baseType ?? this.baseType,
    indexed: indexed ?? this.indexed,
    components: components ??
        List<AbiParameter>.unmodifiable(components ?? this.components),
    internalType: internalType ?? this.internalType,
  );
}