copyWith method

IdBean copyWith({
  1. int? id,
})

Implementation

IdBean copyWith({int? id}) {
  return IdBean(
    id: id ?? this.id,
  );
}