UpdateMyPasswordRequest constructor Null safety

UpdateMyPasswordRequest(
  1. {String? oldPassword,
  2. String? newPassword}
)

Implementation

factory UpdateMyPasswordRequest({
  $core.String? oldPassword,
  $core.String? newPassword,
}) {
  final _result = create();
  if (oldPassword != null) {
    _result.oldPassword = oldPassword;
  }
  if (newPassword != null) {
    _result.newPassword = newPassword;
  }
  return _result;
}