copyWith method

RegistrationStep copyWith({
  1. String? id,
  2. String? fieldKey,
  3. String? path,
  4. bool? selected,
})

Implementation

RegistrationStep copyWith({
  String? id,
  String? fieldKey,
  String? path,
  bool? selected,
}) {
  return RegistrationStep(
    id: id ?? this.id,
    fieldKey: fieldKey ?? this.fieldKey,
    path: path ?? this.path,
    selected: selected ?? this.selected,
  );
}