copyWith method

LKUser copyWith({
  1. String? civility,
  2. String? firstname,
  3. String? lastname,
  4. String? email,
  5. String? picture,
})

Implementation

LKUser copyWith({
  String? civility,
  String? firstname,
  String? lastname,
  String? email,
  String? picture,
}) {
  return LKUser(
    civility: civility ?? this.civility,
    firstname: firstname ?? this.firstname,
    lastname: lastname ?? this.lastname,
    email: email ?? this.email,
    picture: picture ?? this.picture,
  );
}