copyWith method

User copyWith({
  1. String? id,
})

Implementation

User copyWith({String? id}) {
  return User(id: id ?? this.id);
}