copyWith method

Parameter copyWith({
  1. String? name,
  2. ParameterType? type,
  3. bool? required,
})

Implementation

Parameter copyWith(
    {String? name, enums.ParameterType? type, bool? required}) {
  return Parameter(
      name: name ?? this.name,
      type: type ?? this.type,
      required: required ?? this.required);
}