PitelProfileUser.convertFrom constructor

PitelProfileUser.convertFrom(
  1. GetProfileResponse profileResponse
)

Implementation

factory PitelProfileUser.convertFrom(GetProfileResponse profileResponse) {
  return PitelProfileUser(
    email: profileResponse.email,
    username: profileResponse.username,
    firstName: profileResponse.firstName,
    lastName: profileResponse.lastName,
    name: profileResponse.name,
    sipAccount: profileResponse.sipAccount,
  );
}