copyWith method

CustomVariables copyWith({
  1. String? name,
  2. String? value,
})

Implementation

CustomVariables copyWith({
  String? name,
  String? value,
}) {
  return CustomVariables(
    name: name ?? this.name,
    value: value ?? this.value,
  );
}