ProfileText constructor

ProfileText({
  1. String? profileTitle,
  2. String? changePassword,
  3. String? changeEmail,
  4. String? logout,
  5. String? changeEmailTitle,
  6. String? changeEmailDescription,
  7. String? changePasswordTitle,
  8. String? changePasswordDescription,
})

Implementation

factory ProfileText({
  $core.String? profileTitle,
  $core.String? changePassword,
  $core.String? changeEmail,
  $core.String? logout,
  $core.String? changeEmailTitle,
  $core.String? changeEmailDescription,
  $core.String? changePasswordTitle,
  $core.String? changePasswordDescription,
}) {
  final _result = create();
  if (profileTitle != null) {
    _result.profileTitle = profileTitle;
  }
  if (changePassword != null) {
    _result.changePassword = changePassword;
  }
  if (changeEmail != null) {
    _result.changeEmail = changeEmail;
  }
  if (logout != null) {
    _result.logout = logout;
  }
  if (changeEmailTitle != null) {
    _result.changeEmailTitle = changeEmailTitle;
  }
  if (changeEmailDescription != null) {
    _result.changeEmailDescription = changeEmailDescription;
  }
  if (changePasswordTitle != null) {
    _result.changePasswordTitle = changePasswordTitle;
  }
  if (changePasswordDescription != null) {
    _result.changePasswordDescription = changePasswordDescription;
  }
  return _result;
}