copyWith method
Implementation
RoadEventActionInfo copyWith({
  RoadEventActionState? state,
  Optional<int?>? count
}) {
  return RoadEventActionInfo(
    state: state ?? this.state,
    count: count != null ? count.value : this.count
  );
}
RoadEventActionInfo copyWith({
  RoadEventActionState? state,
  Optional<int?>? count
}) {
  return RoadEventActionInfo(
    state: state ?? this.state,
    count: count != null ? count.value : this.count
  );
}