copyWith method

CreateUserRequest copyWith({
  1. String? givenName,
  2. String? familyName,
  3. String? email,
  4. String? password,
})

Implementation

CreateUserRequest copyWith(
    {String? givenName,
    String? familyName,
    String? email,
    String? password}) {
  return CreateUserRequest(
      givenName: givenName ?? this.givenName,
      familyName: familyName ?? this.familyName,
      email: email ?? this.email,
      password: password ?? this.password);
}