copyWith method

FormAnswer copyWith({
  1. JsonNode? adf,
  2. List<String>? choices,
  3. String? date,
  4. String? text,
  5. String? time,
  6. List<String>? users,
})

Implementation

FormAnswer copyWith(
    {JsonNode? adf,
    List<String>? choices,
    String? date,
    String? text,
    String? time,
    List<String>? users}) {
  return FormAnswer(
    adf: adf ?? this.adf,
    choices: choices ?? this.choices,
    date: date ?? this.date,
    text: text ?? this.text,
    time: time ?? this.time,
    users: users ?? this.users,
  );
}