copyWith method
Implementation
UniqueUser copyWith({
Object? id = _copyWithSentinel,
Object? email = _copyWithSentinel,
Object? active = _copyWithSentinel,
}) {
return UniqueUser(
id: identical(id, _copyWithSentinel) ? this.id : id as int,
email: identical(email, _copyWithSentinel) ? this.email : email as String,
active: identical(active, _copyWithSentinel)
? this.active
: active as bool,
);
}